"use strict";(self.webpackChunkburgers=self.webpackChunkburgers||[]).push([[179],{497:()=>{function re(e){return"function"==typeof e}function ts(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ns=ts(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function jr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class yt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(re(r))try{r()}catch(s){t=s instanceof ns?s.errors:[s]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const s of o)try{bd(s)}catch(i){t=t??[],i instanceof ns?t=[...t,...i.errors]:t.push(i)}}if(t)throw new ns(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bd(t);else{if(t instanceof yt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&jr(n,t)}remove(t){const{_finalizers:n}=this;n&&jr(n,t),t instanceof yt&&t._removeParent(this)}}yt.EMPTY=(()=>{const e=new yt;return e.closed=!0,e})();const Ed=yt.EMPTY;function wd(e){return e instanceof yt||e&&"closed"in e&&re(e.remove)&&re(e.add)&&re(e.unsubscribe)}function bd(e){re(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},rs={setTimeout(e,t,...n){const{delegate:r}=rs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=rs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Md(e){rs.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Id(){}const ZD=ya("C",void 0,void 0);function ya(e,t,n){return{kind:e,value:t,error:n}}let Dn=null;function os(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!Dn;if(t&&(Dn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Dn;if(Dn=null,n)throw r}}else e()}class _a extends yt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,wd(t)&&t.add(this)):this.destination=t0}static create(t,n,r){return new Br(t,n,r)}next(t){this.isStopped?Da(function QD(e){return ya("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Da(function YD(e){return ya("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Da(ZD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const JD=Function.prototype.bind;function va(e,t){return JD.call(e,t)}class KD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ss(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ss(r)}else ss(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ss(n)}}}class Br extends _a{constructor(t,n,r){let o;if(super(),re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let s;this&&vn.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&va(t.next,s),error:t.error&&va(t.error,s),complete:t.complete&&va(t.complete,s)}):o=t}this.destination=new KD(o)}}function ss(e){vn.useDeprecatedSynchronousErrorHandling?function XD(e){vn.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=e)}(e):Md(e)}function Da(e,t){const{onStoppedNotification:n}=vn;n&&rs.setTimeout(()=>n(e,t))}const t0={closed:!0,next:Id,error:function e0(e){throw e},complete:Id},Ca="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ea(e){return e}let we=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const s=function r0(e){return e&&e instanceof _a||function n0(e){return e&&re(e.next)&&re(e.error)&&re(e.complete)}(e)&&wd(e)}(n)?n:new Br(n,r,o);return os(()=>{const{operator:i,source:a}=this;s.add(i?i.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ad(r))((o,s)=>{const i=new Br({next:a=>{try{n(a)}catch(u){s(u),i.unsubscribe()}},error:s,complete:o});this.subscribe(i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ca](){return this}pipe(...n){return function Sd(e){return 0===e.length?Ea:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Ad(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return e.create=t=>new e(t),e})();function Ad(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const o0=ts(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let is=(()=>{class e extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Td(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new o0}next(n){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){os(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:s}=this;return r||o?Ed:(this.currentObservers=null,s.push(n),new yt(()=>{this.currentObservers=null,jr(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:s}=this;r?n.error(o):s&&n.complete()}asObservable(){const n=new we;return n.source=this,n}}return e.create=(t,n)=>new Td(t,n),e})();class Td extends is{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ed}}function Ft(e){return t=>{if(function s0(e){return re(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,n,r,o){return new a0(e,t,n,r,o)}class a0 extends _a{constructor(t,n,r,o,s,i){super(t),this.onFinalize=s,this.shouldUnsubscribe=i,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Cn(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,s=>{r.next(e.call(t,s,o++))}))})}function Jt(e){return this instanceof Jt?(this.v=e,this):new Jt(e)}function Pd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ia(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(i){return new Promise(function(a,u){!function o(s,i,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},i)}(a,u,(i=e[s](i)).done,i.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Fd=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Rd(e){return re(e?.then)}function kd(e){return re(e[Ca])}function Ld(e){return Symbol.asyncIterator&&re(e?.[Symbol.asyncIterator])}function Vd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const jd=function T0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Bd(e){return re(e?.[jd])}function Hd(e){return function Od(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),s=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){s.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Jt?Promise.resolve(f.value.v).then(l,c):d(s[0][2],f)}(r[f](h))}catch(p){d(s[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Jt(n.read());if(o)return yield Jt(void 0);yield yield Jt(r)}}finally{n.releaseLock()}})}function $d(e){return re(e?.getReader)}function _t(e){if(e instanceof we)return e;if(null!=e){if(kd(e))return function N0(e){return new we(t=>{const n=e[Ca]();if(re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Fd(e))return function x0(e){return new we(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Rd(e))return function O0(e){return new we(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Md)})}(e);if(Ld(e))return Ud(e);if(Bd(e))return function P0(e){return new we(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if($d(e))return function F0(e){return Ud(Hd(e))}(e)}throw Vd(e)}function Ud(e){return new we(t=>{(function R0(e,t){var n,r,o,s;return function Nd(e,t,n,r){return new(n||(n=Promise))(function(s,i){function a(c){try{l(r.next(c))}catch(d){i(d)}}function u(c){try{l(r.throw(c))}catch(d){i(d)}}function l(c){c.done?s(c.value):function o(s){return s instanceof n?s:new n(function(i){i(s)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Pd(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(i){o={error:i}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Kt(e,t,n,r=0,o=!1){const s=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!o)return s}function as(e,t,n=1/0){return re(t)?as((r,o)=>Cn((s,i)=>t(r,s,o,i))(_t(e(r,o))),n):("number"==typeof t&&(n=t),Ft((r,o)=>function k0(e,t,n,r,o,s,i,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{s&&t.next(g),l++;let y=!1;_t(n(g,c++)).subscribe(Rt(t,v=>{o?.(v),s?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const v=u.shift();i?Kt(t,i,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Gd=new we(e=>e.complete());function Sa(e){return e[e.length-1]}function zd(e){return function j0(e){return e&&re(e.schedule)}(Sa(e))?e.pop():void 0}function qd(e,t=0){return Ft((n,r)=>{n.subscribe(Rt(r,o=>Kt(r,e,()=>r.next(o),t),()=>Kt(r,e,()=>r.complete(),t),o=>Kt(r,e,()=>r.error(o),t)))})}function Wd(e,t=0){return Ft((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zd(e,t){if(!e)throw new Error("Iterable cannot be null");return new we(n=>{Kt(n,t,()=>{const r=e[Symbol.asyncIterator]();Kt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function us(e,t){return t?function W0(e,t){if(null!=e){if(kd(e))return function $0(e,t){return _t(e).pipe(Wd(t),qd(t))}(e,t);if(Fd(e))return function G0(e,t){return new we(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Rd(e))return function U0(e,t){return _t(e).pipe(Wd(t),qd(t))}(e,t);if(Ld(e))return Zd(e,t);if(Bd(e))return function z0(e,t){return new we(n=>{let r;return Kt(n,t,()=>{r=e[jd](),Kt(n,t,()=>{let o,s;try{({value:o,done:s}=r.next())}catch(i){return void n.error(i)}s?n.complete():n.next(o)},0,!0)}),()=>re(r?.return)&&r.return()})}(e,t);if($d(e))return function q0(e,t){return Zd(Hd(e),t)}(e,t)}throw Vd(e)}(e,t):_t(e)}class Y0 extends is{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Aa(...e){return us(e,zd(e))}function Yd(e={}){const{connector:t=(()=>new is),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return s=>{let i,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),i=u=void 0,c=d=!1},p=()=>{const g=i;h(),g?.unsubscribe()};return Ft((g,y)=>{l++,!d&&!c&&f();const v=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Ta(p,o))}),v.subscribe(y),!i&&l>0&&(i=new Br({next:m=>v.next(m),error:m=>{d=!0,f(),a=Ta(h,n,m),v.error(m)},complete:()=>{c=!0,f(),a=Ta(h,r),v.complete()}}),_t(g).subscribe(i))})(s)}}function Ta(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Br({next:()=>{r.unsubscribe(),e()}});return _t(t(...n)).subscribe(r)}function Qd(e,t){return Ft((n,r)=>{let o=null,s=0,i=!1;const a=()=>i&&!o&&r.complete();n.subscribe(Rt(r,u=>{o?.unsubscribe();let l=0;const c=s++;_t(e(u,c)).subscribe(o=Rt(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{i=!0,a()}))})}function X0(e,t){return e===t}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function ls(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Na(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const J0=Z({__forward_ref__:Z});function X(e){return e.__forward_ref__=X,e.toString=function(){return pe(this())},e}function A(e){return xa(e)?e():e}function xa(e){return"function"==typeof e&&e.hasOwnProperty(J0)&&e.__forward_ref__===X}function Oa(e){return e&&!!e.\u0275providers}const Xd="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function cs(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Pa(e,t){throw new C(-201,!1)}function tt(e,t){null==e&&function I(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function vt(e){return{providers:e.providers||[],imports:e.imports||[]}}function ds(e){return Jd(e,hs)||Jd(e,Kd)}function Jd(e,t){return e.hasOwnProperty(t)?e[t]:null}function fs(e){return e&&(e.hasOwnProperty(Fa)||e.hasOwnProperty(sC))?e[Fa]:null}const hs=Z({\u0275prov:Z}),Fa=Z({\u0275inj:Z}),Kd=Z({ngInjectableDef:Z}),sC=Z({ngInjectorDef:Z});var j=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(j||{});let Ra;function He(e){const t=Ra;return Ra=e,t}function tf(e,t,n){const r=ds(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void Pa(pe(e))}const J=globalThis,Hr={},Ba="__NG_DI_FLAG__",ps="ngTempTokenPath",uC=/\n/gm,rf="__source";let Bn;function en(e){const t=Bn;return Bn=e,t}function dC(e,t=j.Default){if(void 0===Bn)throw new C(-203,!1);return null===Bn?tf(e,void 0,t):Bn.get(e,t&j.Optional?null:void 0,t)}function F(e,t=j.Default){return(function ef(){return Ra}()||dC)(A(e),t)}function U(e,t=j.Default){return F(e,gs(t))}function gs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ha(e){const t=[];for(let n=0;n<e.length;n++){const r=A(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,s=j.Default;for(let i=0;i<r.length;i++){const a=r[i],u=fC(a);"number"==typeof u?-1===u?o=a.token:s|=u:o=a}t.push(F(o,s))}else t.push(F(r))}return t}function $r(e,t){return e[Ba]=t,e.prototype[Ba]=t,e}function fC(e){return e[Ba]}function kt(e){return{toString:e}.toString()}var ms=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ms||{}),at=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(at||{});const Dt={},G=[],ys=Z({\u0275cmp:Z}),$a=Z({\u0275dir:Z}),Ua=Z({\u0275pipe:Z}),af=Z({\u0275mod:Z}),Lt=Z({\u0275fac:Z}),Ur=Z({__NG_ELEMENT_ID__:Z}),uf=Z({__NG_ENV_ID__:Z});function lf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}function Ga(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],i=n[r++],a=n[r++];e.setAttribute(t,i,a,s)}else{const s=o,i=n[++r];df(s)?e.setProperty(t,s,i):e.setAttribute(t,s,i),r++}}return r}function cf(e){return 3===e||4===e||6===e}function df(e){return 64===e.charCodeAt(0)}function Gr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||ff(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ff(e,t,n,r,o){let s=0,i=e.length;if(-1===t)i=-1;else for(;s<e.length;){const a=e[s++];if("number"==typeof a){if(a===t){i=-1;break}if(a>t){i=s-1;break}}}for(;s<e.length;){const a=e[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(e.splice(i,0,t),s=i+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}const hf="ng-template";function gC(e,t,n){let r=0,o=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&o){const i=e[r++];if(n&&"class"===s&&-1!==lf(i.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(o=!1)}}return!1}function pf(e){return 4===e.type&&e.value!==hf}function mC(e,t,n){return t===(4!==e.type||n?e.value:hf)}function yC(e,t,n){let r=4;const o=e.attrs||[],s=function DC(e){for(let t=0;t<e.length;t++)if(cf(e[t]))return t;return e.length}(o);let i=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!mC(e,u,n)||""===u&&1===t.length){if(ut(r))return!1;i=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!gC(e.attrs,l,n)){if(ut(r))return!1;i=!0}continue}const d=_C(8&r?"class":u,o,pf(e),n);if(-1===d){if(ut(r))return!1;i=!0;continue}if(""!==l){let f;f=d>s?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==lf(h,l,0)||2&r&&l!==f){if(ut(r))return!1;i=!0}}}}else{if(!i&&!ut(r)&&!ut(u))return!1;if(i&&ut(u))continue;i=!1,r=u|1&r}}return ut(r)||i}function ut(e){return 0==(1&e)}function _C(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const i=t[o];if(i===e)return o;if(3===i||6===i)s=!0;else{if(1===i||2===i){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===i)break;if(0===i){o+=4;continue}}o+=s?1:2}return-1}return function CC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function gf(e,t,n=!1){for(let r=0;r<t.length;r++)if(yC(e,t[r],n))return!0;return!1}function mf(e,t){return e?":not("+t.trim()+")":t}function wC(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const a=e[++n];o+="["+i+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!ut(i)&&(t+=mf(s,o),o=""),r=i,s=s||!ut(r);n++}return""!==o&&(t+=mf(s,o)),t}function yf(e){return kt(()=>{const t=vf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ms.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||at.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};Df(n);const r=e.dependencies;return n.directiveDefs=_s(r,!1),n.pipeDefs=_s(r,!0),n.id=function xC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function SC(e){return H(e)||_e(e)}function AC(e){return null!==e}function Vt(e){return kt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _f(e,t){if(null==e)return Dt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function x(e){return kt(()=>{const t=vf(e);return Df(t),t})}function H(e){return e[ys]||null}function _e(e){return e[$a]||null}function xe(e){return e[Ua]||null}function vf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Dt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:_f(e.inputs,t),outputs:_f(e.outputs)}}function Df(e){e.features?.forEach(t=>t(e))}function _s(e,t){if(!e)return null;const n=t?xe:SC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(AC)}const ae=0,E=1,P=2,oe=3,lt=4,qr=5,be=6,Hn=7,ce=8,tn=9,$n=10,N=11,Wr=12,Cf=13,Un=14,de=15,Zr=16,Gn=17,Ct=18,Yr=19,Ef=20,nn=21,jt=22,Qr=23,Xr=24,V=25,za=1,wf=2,Et=7,zn=9,ve=11;function Ue(e){return Array.isArray(e)&&"object"==typeof e[za]}function Oe(e){return Array.isArray(e)&&!0===e[za]}function qa(e){return 0!=(4&e.flags)}function wn(e){return e.componentOffset>-1}function Ds(e){return 1==(1&e.flags)}function ct(e){return!!e.template}function Wa(e){return 0!=(512&e[P])}function bn(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}let De=null,Cs=!1;function nt(e){const t=De;return De=e,t}const If={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Af(e){if(!Kr(e)||e.dirty){if(!e.producerMustRecompute(e)&&!xf(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Nf(e){e.dirty=!0,function Tf(e){if(void 0===e.liveConsumerNode)return;const t=Cs;Cs=!0;try{for(const n of e.liveConsumerNode)n.dirty||Nf(n)}finally{Cs=t}}(e),e.consumerMarkedDirty?.(e)}function Ya(e){return e&&(e.nextProducerIndex=0),nt(e)}function Qa(e,t){if(nt(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Kr(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Es(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function xf(e){qn(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Af(n),r!==n.version))return!0}return!1}function Of(e){if(qn(e),Kr(e))for(let t=0;t<e.producerNode.length;t++)Es(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Es(e,t){if(function Ff(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),qn(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)Es(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];qn(o),o.producerIndexOfThis[r]=t}}function Kr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function qn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Rf=null;const jf=()=>{},GC=(()=>({...If,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:jf}))();class zC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bt(){return Bf}function Bf(e){return e.type.prototype.ngOnChanges&&(e.setInput=WC),qC}function qC(){const e=$f(this),t=e?.current;if(t){const n=e.previous;if(n===Dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WC(e,t,n,r){const o=this.declaredInputs[n],s=$f(e)||function ZC(e,t){return e[Hf]=t}(e,{previous:Dt,current:null}),i=s.current||(s.current={}),a=s.previous,u=a[o];i[o]=new zC(u&&u.currentValue,t,a===Dt),e[r]=t}Bt.ngInherit=!0;const Hf="__ngSimpleChanges__";function $f(e){return e[Hf]||null}const wt=function(e,t,n){},Uf="svg";function K(e){for(;Array.isArray(e);)e=e[ae];return e}function ws(e,t){return K(t[e])}function Ge(e,t){return K(t[e.index])}function zf(e,t){return e.data[t]}function Qe(e,t){const n=t[e];return Ue(n)?n:n[ae]}function on(e,t){return null==t?null:e[t]}function qf(e){e[Gn]=0}function eE(e){1024&e[P]||(e[P]|=1024,Zf(e,1))}function Wf(e){1024&e[P]&&(e[P]&=-1025,Zf(e,-1))}function Zf(e,t){let n=e[oe];if(null===n)return;n[qr]+=t;let r=n;for(n=n[oe];null!==n&&(1===t&&1===r[qr]||-1===t&&0===r[qr]);)n[qr]+=t,r=n,n=n[oe]}const S={lFrame:sh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xf(){return S.bindingsEnabled}function _(){return S.lFrame.lView}function $(){return S.lFrame.tView}function Yn(e){return S.lFrame.contextLView=e,e[ce]}function Qn(e){return S.lFrame.contextLView=null,e}function Ce(){let e=Jf();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jf(){return S.lFrame.currentTNode}function bt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function tu(){return S.lFrame.isParent}function Xn(){return S.lFrame.bindingIndex++}function $t(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fE(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,ru(t)}function ru(e){S.lFrame.currentDirectiveIndex=e}function su(e){S.lFrame.currentQueryIndex=e}function pE(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[be]:null}function rh(e,t,n){if(n&j.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&j.Host||(o=pE(s),null===o||(s=s[Un],10&o.type))););if(null===o)return!1;t=o,e=s}const r=S.lFrame=oh();return r.currentTNode=t,r.lView=e,!0}function iu(e){const t=oh(),n=e[E];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function oh(){const e=S.lFrame,t=null===e?null:e.child;return null===t?sh(e):t}function sh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ih(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ah=ih;function au(){const e=ih();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Fe(){return S.lFrame.selectedIndex}function Mn(e){S.lFrame.selectedIndex=e}function ie(){const e=S.lFrame;return zf(e.tView,e.selectedIndex)}let ch=!0;function bs(){return ch}function sn(e){ch=e}function Ms(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=s;i&&(e.contentHooks??=[]).push(-n,i),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function Is(e,t,n){dh(e,t,3,n)}function Ss(e,t,n,r){(3&e[P])===n&&dh(e,t,n,r)}function uu(e,t){let n=e[P];(3&n)===t&&(n&=8191,n+=1,e[P]=n)}function dh(e,t,n,r){const s=r??-1,i=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Gn]:0;u<i;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Gn]+=65536),(a<s||-1==s)&&(CE(e,n,t,u),e[Gn]=(4294901760&e[Gn])+u+2),u++}function fh(e,t){wt(4,e,t);const n=nt(null);try{t.call(e)}finally{nt(n),wt(5,e,t)}}function CE(e,t,n,r){const o=n[r]<0,s=n[r+1],a=e[o?-n[r]:n[r]];o?e[P]>>13<e[Gn]>>16&&(3&e[P])===t&&(e[P]+=8192,fh(a,s)):fh(a,s)}const Jn=-1;class to{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function cu(e){return e!==Jn}function no(e){return 32767&e}function ro(e,t){let n=function ME(e){return e>>16}(e),r=t;for(;n>0;)r=r[Un],n--;return r}let du=!0;function As(e){const t=du;return du=e,t}const hh=255,ph=5;let IE=0;const Mt={};function Ts(e,t){const n=gh(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,fu(r.data,e),fu(t,null),fu(r.blueprint,null));const o=Ns(e,t),s=e.injectorIndex;if(cu(o)){const i=no(o),a=ro(o,t),u=a[E].data;for(let l=0;l<8;l++)t[s+l]=a[i+l]|u[i+l]}return t[s+8]=o,s}function fu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ns(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Eh(o),null===r)return Jn;if(n++,o=o[Un],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Jn}function hu(e,t,n){!function SE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ur)&&(r=n[Ur]),null==r&&(r=n[Ur]=IE++);const o=r&hh;t.data[e+(o>>ph)]|=1<<o}(e,t,n)}function mh(e,t,n){if(n&j.Optional||void 0!==e)return e;Pa()}function yh(e,t,n,r){if(n&j.Optional&&void 0===r&&(r=null),!(n&(j.Self|j.Host))){const o=e[tn],s=He(void 0);try{return o?o.get(t,r,n&j.Optional):tf(t,r,n&j.Optional)}finally{He(s)}}return mh(r,0,n)}function _h(e,t,n,r=j.Default,o){if(null!==e){if(2048&t[P]&&!(r&j.Self)){const i=function PE(e,t,n,r,o){let s=e,i=t;for(;null!==s&&null!==i&&2048&i[P]&&!(512&i[P]);){const a=vh(s,i,n,r|j.Self,Mt);if(a!==Mt)return a;let u=s.parent;if(!u){const l=i[Ef];if(l){const c=l.get(n,Mt,r);if(c!==Mt)return c}u=Eh(i),i=i[Un]}s=u}return o}(e,t,n,r,Mt);if(i!==Mt)return i}const s=vh(e,t,n,r,Mt);if(s!==Mt)return s}return yh(t,n,r,o)}function vh(e,t,n,r,o){const s=function NE(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ur)?e[Ur]:void 0;return"number"==typeof t?t>=0?t&hh:OE:t}(n);if("function"==typeof s){if(!rh(t,e,r))return r&j.Host?mh(o,0,r):yh(t,n,r,o);try{let i;if(i=s(r),null!=i||r&j.Optional)return i;Pa()}finally{ah()}}else if("number"==typeof s){let i=null,a=gh(e,t),u=Jn,l=r&j.Host?t[de][be]:null;for((-1===a||r&j.SkipSelf)&&(u=-1===a?Ns(e,t):t[a+8],u!==Jn&&Ch(r,!1)?(i=t[E],a=no(u),t=ro(u,t)):a=-1);-1!==a;){const c=t[E];if(Dh(s,a,c.data)){const d=TE(a,t,n,i,r,l);if(d!==Mt)return d}u=t[a+8],u!==Jn&&Ch(r,t[E].data[a+8]===l)&&Dh(s,a,t)?(i=c,a=no(u),t=ro(u,t)):a=-1}}return o}function TE(e,t,n,r,o,s){const i=t[E],a=i.data[e+8],c=function xs(e,t,n,r,o){const s=e.providerIndexes,i=t.data,a=1048575&s,u=e.directiveStart,c=s>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=i[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=i[u];if(h&&ct(h)&&h.type===n)return u}return null}(a,i,n,null==r?wn(a)&&du:r!=i&&0!=(3&a.type),o&j.Host&&s===a);return null!==c?In(t,i,c,a):Mt}function In(e,t,n,r){let o=e[n];const s=t.data;if(function EE(e){return e instanceof to}(o)){const i=o;i.resolving&&function K0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}(s[n]));const a=As(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?He(i.injectImpl):null;rh(e,r,j.Default);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function DE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const i=Bf(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==l&&He(l),As(a),i.resolving=!1,ah()}}return o}function Dh(e,t,n){return!!(n[t+(e>>ph)]&1<<e)}function Ch(e,t){return!(e&j.Self||e&j.Host&&t)}class Re{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _h(this._tNode,this._lView,t,gs(r),n)}}function OE(){return new Re(Ce(),_())}function pu(e){return xa(e)?()=>{const t=pu(A(e));return t&&t()}:bn(e)}function Eh(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[be]:null}const er="__parameters__";function nr(e,t,n){return kt(()=>{const r=function mu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(u,l,c){const d=u.hasOwnProperty(er)?u[er]:Object.defineProperty(u,er,{value:[]})[er];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(i),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function or(e,t){e.forEach(n=>Array.isArray(n)?or(n,t):t(n))}function bh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Os(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xe(e,t,n){let r=sr(e,t);return r>=0?e[1|r]=n:(r=~r,function BE(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yu(e,t){const n=sr(e,t);if(n>=0)return e[1|n]}function sr(e,t){return function Mh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),i=e[s<<n];if(t===i)return s<<n;i>t?o=s:r=s+1}return~(o<<n)}(e,t,1)}const vu=$r(nr("Optional"),8),Du=$r(nr("SkipSelf"),4);function Vs(e){return 128==(128&e.flags)}var an=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(an||{});const bu=new Map;let cw=0;const Iu="__ngContext__";function Ie(e,t){Ue(t)?(e[Iu]=t[Yr],function fw(e){bu.set(e[Yr],e)}(t)):e[Iu]=t}let Su;function Au(e,t){return Su(e,t)}function lo(e){const t=e[oe];return Oe(t)?t[oe]:t}function zh(e){return Wh(e[Wr])}function qh(e){return Wh(e[lt])}function Wh(e){for(;null!==e&&!Oe(e);)e=e[lt];return e}function ur(e,t,n,r,o){if(null!=r){let s,i=!1;Oe(r)?s=r:Ue(r)&&(i=!0,r=r[ae]);const a=K(r);0===e&&null!==n?null==o?Xh(t,n,a):Sn(t,n,a,o||null,!0):1===e&&null!==n?Sn(t,n,a,o||null,!0):2===e?function zs(e,t,n){const r=Us(e,t);r&&function xw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,i):3===e&&t.destroyNode(a),null!=s&&function Fw(e,t,n,r,o){const s=n[Et];s!==K(n)&&ur(t,e,r,s,o);for(let a=ve;a<n.length;a++){const u=n[a];fo(u[E],u,e,t,r,s)}}(t,e,s,n,o)}}function Hs(e,t,n){return e.createElement(t,n)}function Yh(e,t){const n=e[zn],r=n.indexOf(t);Wf(t),n.splice(r,1)}function $s(e,t){if(e.length<=ve)return;const n=ve+t,r=e[n];if(r){const o=r[Zr];null!==o&&o!==e&&Yh(o,r),t>0&&(e[n-1][lt]=r[lt]);const s=Os(e,ve+t);!function ww(e,t){fo(e,t,t[N],2,null,null),t[ae]=null,t[be]=null}(r[E],r);const i=s[Ct];null!==i&&i.detachView(s[E]),r[oe]=null,r[lt]=null,r[P]&=-129}return r}function Nu(e,t){if(!(256&t[P])){const n=t[N];t[Qr]&&Of(t[Qr]),t[Xr]&&Of(t[Xr]),n.destroyNode&&fo(e,t,n,3,null,null),function Iw(e){let t=e[Wr];if(!t)return xu(e[E],e);for(;t;){let n=null;if(Ue(t))n=t[Wr];else{const r=t[ve];r&&(n=r)}if(!n){for(;t&&!t[lt]&&t!==e;)Ue(t)&&xu(t[E],t),t=t[oe];null===t&&(t=e),Ue(t)&&xu(t[E],t),n=t&&t[lt]}t=n}}(t)}}function xu(e,t){if(!(256&t[P])){t[P]&=-129,t[P]|=256,function Nw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof to)){const s=n[r+1];if(Array.isArray(s))for(let i=0;i<s.length;i+=2){const a=o[s[i]],u=s[i+1];wt(4,a,u);try{u.call(a)}finally{wt(5,a,u)}}else{wt(4,o,s);try{s.call(o)}finally{wt(5,o,s)}}}}}(e,t),function Tw(e,t){const n=e.cleanup,r=t[Hn];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const i=n[s+3];i>=0?r[i]():r[-i].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Hn]=null);const o=t[nn];if(null!==o){t[nn]=null;for(let s=0;s<o.length;s++)(0,o[s])()}}(e,t),1===t[E].type&&t[N].destroy();const n=t[Zr];if(null!==n&&Oe(t[oe])){n!==t[oe]&&Yh(n,t);const r=t[Ct];null!==r&&r.detachView(e)}!function hw(e){bu.delete(e[Yr])}(t)}}function Ou(e,t,n){return function Qh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ae];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===at.None||s===at.Emulated)return null}return Ge(r,n)}}(e,t.parent,n)}function Sn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Xh(e,t,n){e.appendChild(t,n)}function Jh(e,t,n,r,o){null!==r?Sn(e,t,n,r,o):Xh(e,t,n)}function Us(e,t){return e.parentNode(t)}let Pu,Lu,tp=function ep(e,t,n){return 40&e.type?Ge(e,n):null};function Gs(e,t,n,r){const o=Ou(e,r,t),s=t[N],a=function Kh(e,t,n){return tp(e,t,n)}(r.parent||t[be],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Jh(s,o,n[u],a,!1);else Jh(s,o,n,a,!1);void 0!==Pu&&Pu(s,r,t,n,o)}function co(e,t){if(null!==t){const n=t.type;if(3&n)return Ge(t,e);if(4&n)return Fu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return co(e,r);{const o=e[t.index];return Oe(o)?Fu(-1,o):K(o)}}if(32&n)return Au(t,e)()||K(e[t.index]);{const r=rp(e,t);return null!==r?Array.isArray(r)?r[0]:co(lo(e[de]),r):co(e,t.next)}}return null}function rp(e,t){return null!==t?e[de][be].projection[t.projection]:null}function Fu(e,t){const n=ve+e+1;if(n<t.length){const r=t[n],o=r[E].firstChild;if(null!==o)return co(r,o)}return t[Et]}function Ru(e,t,n,r,o,s,i){for(;null!=n;){const a=r[n.index],u=n.type;if(i&&0===t&&(a&&Ie(K(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Ru(e,t,n.child,r,o,s,!1),ur(t,e,o,a,s);else if(32&u){const l=Au(n,r);let c;for(;c=l();)ur(t,e,o,c,s);ur(t,e,o,a,s)}else 16&u?sp(e,t,r,n,o,s):ur(t,e,o,a,s);n=i?n.projectionNext:n.next}}function fo(e,t,n,r,o,s){Ru(n,r,e.firstChild,t,o,s,!1)}function sp(e,t,n,r,o,s){const i=n[de],u=i[be].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)ur(t,e,o,u[l],s);else{let l=u;const c=i[oe];Vs(r)&&(l.flags|=128),Ru(e,t,l,c,o,s,!0)}}function ip(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ap(e,t,n){const{mergedAttrs:r,classes:o,styles:s}=n;null!==r&&Ga(e,t,r),null!==o&&ip(e,t,o),null!==s&&function kw(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}class dp{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xd})`}}function un(e){return e instanceof dp?e.changingThisBreaksApplicationSecurity:e}const Qw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var dr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(dr||{});function Uu(e){const t=function go(){const e=_();return e&&e[$n].sanitizer}();return t?t.sanitize(dr.URL,e)||"":function ho(e,t){const n=function qw(e){return e instanceof dp&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Xd})`)}return n===t}(e,"URL")?un(e):function ju(e){return(e=String(e)).match(Qw)?e:"unsafe:"+e}(T(e))}class M{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ys=new M("ENVIRONMENT_INITIALIZER"),vp=new M("INJECTOR",-1),Dp=new M("INJECTOR_DEF_TYPES");class Gu{get(t,n=Hr){if(n===Hr){const r=new Error(`NullInjectorError: No provider for ${pe(t)}!`);throw r.name="NullInjectorError",r}return n}}function cb(...e){return{\u0275providers:Cp(0,e),\u0275fromNgModule:!0}}function Cp(e,...t){const n=[],r=new Set;let o;const s=i=>{n.push(i)};return or(t,i=>{const a=i;Qs(a,s,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Ep(o,s),n}function Ep(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];qu(o,s=>{t(s,r)})}}function Qs(e,t,n,r){if(!(e=A(e)))return!1;let o=null,s=fs(e);const i=!s&&H(e);if(s||i){if(i&&!i.standalone)return!1;o=e}else{const u=e.ngModule;if(s=fs(u),!s)return!1;o=u}const a=r.has(o);if(i){if(a)return!1;if(r.add(o),i.dependencies){const u="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const l of u)Qs(l,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let l;r.add(o);try{or(s.imports,c=>{Qs(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&Ep(l,t)}if(!a){const l=bn(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Dp,useValue:o,multi:!0},o),t({provide:Ys,useValue:()=>F(o),multi:!0},o)}const u=s.providers;if(null!=u&&!a){const l=e;qu(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function qu(e,t){for(let n of e)Oa(n)&&(n=n.\u0275providers),Array.isArray(n)?qu(n,t):t(n)}const db=Z({provide:String,useValue:Z});function Wu(e){return null!==e&&"object"==typeof e&&db in e}function An(e){return"function"==typeof e}const Zu=new M("Set Injector scope."),Xs={},hb={};let Yu;function Js(){return void 0===Yu&&(Yu=new Gu),Yu}class It{}class Ks extends It{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Xu(t,i=>this.processProvider(i)),this.records.set(vp,fr(void 0,this)),o.has("environment")&&this.records.set(It,fr(void 0,this));const s=this.records.get(Zu);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Dp.multi,G,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=en(this),r=He(void 0);try{return t()}finally{en(n),He(r)}}get(t,n=Hr,r=j.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(uf))return t[uf](this);r=gs(r);const s=en(this),i=He(void 0);try{if(!(r&j.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function _b(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&ds(t);u=l&&this.injectableDefInScope(l)?fr(Qu(t),Xs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&j.Self?Js():this.parent).get(t,n=r&j.Optional&&n===Hr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ps]=a[ps]||[]).unshift(pe(t)),s)throw a;return function hC(e,t,n,r){const o=e[ps];throw t[rf]&&o.unshift(t[rf]),e.message=function pC(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=pe(t);if(Array.isArray(t))o=t.map(pe).join(" -> ");else if("object"==typeof t){let s=[];for(let i in t)if(t.hasOwnProperty(i)){let a=t[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):pe(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(uC,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ps]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{He(i),en(s)}}resolveInjectorInitializers(){const t=en(this),n=He(void 0);try{const o=this.get(Ys.multi,G,j.Self);for(const s of o)s()}finally{en(t),He(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=An(t=A(t))?t:A(t&&t.provide);const r=function gb(e){return Wu(e)?fr(void 0,e.useValue):fr(Mp(e),Xs)}(t);if(An(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=fr(void 0,Xs,!0),o.factory=()=>Ha(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Xs&&(n.value=hb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Qu(e){const t=ds(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function pb(e){const t=e.length;if(t>0)throw function io(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function oC(e){return e&&(e[hs]||e[Kd])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Mp(e,t,n){let r;if(An(e)){const o=A(e);return bn(o)||Qu(o)}if(Wu(e))r=()=>A(e.useValue);else if(function bp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ha(e.deps||[]));else if(function wp(e){return!(!e||!e.useExisting)}(e))r=()=>F(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function mb(e){return!!e.deps}(e))return bn(o)||Qu(o);r=()=>new o(...Ha(e.deps))}return r}function fr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xu(e,t){for(const n of e)Array.isArray(n)?Xu(n,t):n&&Oa(n)?Xu(n.\u0275providers,t):t(n)}const ei=new M("AppId",{providedIn:"root",factory:()=>vb}),vb="ng",Ip=new M("Platform Initializer"),Tn=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Sp=new M("CSP nonce",{providedIn:"root",factory:()=>function cr(){if(void 0!==Lu)return Lu;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ap=(e,t,n)=>null;function sl(e,t,n=!1){return Ap(e,t,n)}class Tb{}class xp{}class xb{resolveComponentFactory(t){throw function Nb(e){const t=Error(`No component factory found for ${pe(e)}.`);return t.ngComponent=e,t}(t)}}let ii=(()=>{class t{}return t.NULL=new xb,t})();function Ob(){return gr(Ce(),_())}function gr(e,t){return new dt(Ge(e,t))}let dt=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=Ob,t})();class Pp{}let Nn=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function Fb(){const e=_(),n=Qe(Ce().index,e);return(Ue(n)?n:e)[N]}(),t})(),Rb=(()=>{var e;class t{}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>null}),t})();class ai{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const kb=new ai("16.2.6"),ul={};function Lp(e,t=null,n=null,r){const o=Vp(e,t,n,r);return o.resolveInjectorInitializers(),o}function Vp(e,t=null,n=null,r,o=new Set){const s=[n||G,cb(e)];return r=r||("object"==typeof e?void 0:pe(e)),new Ks(s,t||Js(),r||null,o)}let ft=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Lp({name:""},o,r,"");{const s=r.name??"";return Lp({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=Hr,e.NULL=new Gu,e.\u0275prov=B({token:e,providedIn:"any",factory:()=>F(vp)}),e.__NG_ELEMENT_ID__=-1,t})();function cl(e){return e.ngOriginalError}class Gt{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}function fl(e){return t=>{setTimeout(e,void 0,t)}}const Se=class Ub extends is{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),i=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),s=u.error?.bind(u),i=u.complete?.bind(u)}this.__isAsync&&(s=fl(s),o&&(o=fl(o)),i&&(i=fl(i)));const a=super.subscribe({next:o,error:s,complete:i});return t instanceof yt&&t.add(a),a}};function Bp(...e){}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Se(!1),this.onMicrotaskEmpty=new Se(!1),this.onStable=new Se(!1),this.onError=new Se(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Gb(){const e="function"==typeof J.requestAnimationFrame;let t=J[e?"requestAnimationFrame":"setTimeout"],n=J[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Wb(e){const t=()=>{!function qb(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pl(e),e.isCheckStableRunning=!0,hl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{if(function Yb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(o,s,i,a);try{return Hp(e),n.invokeTask(o,s,i,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),$p(e)}},onInvoke:(n,r,o,s,i,a,u)=>{try{return Hp(e),n.invoke(o,s,i,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),$p(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,pl(e),hl(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,t,zb,Bp,Bp);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const zb={};function hl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function pl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $p(e){e._nesting--,hl(e)}class Zb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Se,this.onMicrotaskEmpty=new Se,this.onStable=new Se,this.onError=new Se}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Up=new M("",{providedIn:"root",factory:Gp});function Gp(){const e=U(ue);let t=!0;return function Z0(...e){const t=zd(e),n=function H0(e,t){return"number"==typeof Sa(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?_t(r[0]):function L0(e=1/0){return as(Ea,e)}(n)(us(r,t)):Gd}(new we(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new we(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const i=e.onUnstable.subscribe(()=>{ue.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),i.unsubscribe()}}).pipe(Yd()))}function zp(e){return e.ownerDocument}let gl=(()=>{var e;class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>new e}),t})();function _o(e){for(;e;){e[P]|=64;const t=lo(e);if(Wa(e)&&!t)return e;e=t}return null}const Qp=new M("",{providedIn:"root",factory:()=>!1});let li=null;function eg(e,t){return e[t]??rg()}function tg(e,t){const n=rg();n.producerNode?.length&&(e[t]=li,n.lView=e,li=ng())}const oM={...If,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{_o(e.lView)},lView:null};function ng(){return Object.create(oM)}function rg(){return li??=ng(),li}const O={};function Ae(e){og($(),_(),Fe()+e,!1)}function og(e,t,n,r){if(!r)if(3==(3&t[P])){const s=e.preOrderCheckHooks;null!==s&&Is(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ss(t,s,0,n)}Mn(n)}function D(e,t=j.Default){const n=_();return null===n?F(e,t):_h(Ce(),n,A(e),t)}function ci(e,t,n,r,o,s,i,a,u,l,c){const d=t.blueprint.slice();return d[ae]=o,d[P]=140|r,(null!==l||e&&2048&e[P])&&(d[P]|=2048),qf(d),d[oe]=d[Un]=e,d[ce]=n,d[$n]=i||e&&e[$n],d[N]=a||e&&e[N],d[tn]=u||e&&e[tn]||null,d[be]=s,d[Yr]=function dw(){return cw++}(),d[jt]=c,d[Ef]=l,d[de]=2==t.type?e[de]:d,d}function _r(e,t,n,r,o){let s=e.data[t];if(null===s)s=function ml(e,t,n,r,o){const s=Jf(),i=tu(),u=e.data[t]=function hM(e,t,n,r,o,s){let i=t?t.injectorIndex:-1,a=0;return function Zn(){return null!==S.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==s&&(i?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u,u.prev=s)),u}(e,t,n,r,o),function dE(){return S.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function eo(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return bt(s,!0),s}function vo(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function sg(e,t,n,r,o){const s=eg(t,Qr),i=Fe(),a=2&r;try{Mn(-1),a&&t.length>V&&og(e,t,V,!1),wt(a?2:0,o);const l=a?s:null,c=Ya(l);try{null!==l&&(l.dirty=!1),n(r,o)}finally{Qa(l,c)}}finally{a&&null===t[Qr]&&tg(t,Qr),Mn(i),wt(a?3:1,o)}}function yl(e,t,n){if(qa(t)){const r=nt(null);try{const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const a=e.data[i];a.contentQueries&&a.contentQueries(1,n[i],i)}}finally{nt(r)}}}function _l(e,t,n){Xf()&&(function DM(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;wn(n)&&function SM(e,t,n){const r=Ge(t,e),o=ig(n);let i=16;n.signals?i=4096:n.onPush&&(i=64);const a=di(e,ci(e,o,null,i,r,t,null,e[$n].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ts(n,t),Ie(r,t);const i=n.initialInputs;for(let a=o;a<s;a++){const u=e.data[a],l=In(t,e,a,n);Ie(l,t),null!==i&&AM(0,a-o,l,u,0,i),ct(u)&&(Qe(n.index,t)[ce]=In(t,e,a,n))}}(e,t,n,Ge(n,t)),64==(64&n.flags)&&dg(e,t,n))}function vl(e,t,n=Ge){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],a=-1===i?n(t,e):e[i];e[o++]=a}}}function ig(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Dl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Dl(e,t,n,r,o,s,i,a,u,l,c){const d=V+r,f=d+o,h=function aM(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:O);return n}(d,f),p="function"==typeof l?l():l;return h[E]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let ag=e=>null;function ug(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?lg(n,t,o,s):r.hasOwnProperty(o)&&lg(n,t,r[o],s)}return n}function lg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Je(e,t,n,r,o,s,i,a){const u=Ge(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Ml(e,n,c,r,o),wn(t)&&function mM(e,t){const n=Qe(t,e);16&n[P]||(n[P]|=64)}(n,t.index)):3&t.type&&(r=function gM(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=i?i(o,t.value||"",r):o,s.setProperty(u,r,o))}function Cl(e,t,n,r){if(Xf()){const o=null===r?null:{"":-1},s=function EM(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s<n.length;s++){const i=n[s];if(gf(t,i.selectors,!1))if(r||(r=[]),ct(i))if(null!==i.findHostDirectiveDefs){const a=[];o=o||new Map,i.findHostDirectiveDefs(i,a,o),r.unshift(...a,i),El(e,t,a.length)}else r.unshift(i),El(e,t,0);else o=o||new Map,i.findHostDirectiveDefs?.(i,r,o),r.push(i)}return null===r?null:[r,o]}(e,n);let i,a;null===s?i=a=null:[i,a]=s,null!==i&&cg(e,t,n,i,o,a),o&&function wM(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new C(-301,!1);r.push(t[o],s)}}}(n,r,o)}n.mergedAttrs=Gr(n.mergedAttrs,n.attrs)}function cg(e,t,n,r,o,s){for(let l=0;l<r.length;l++)hu(Ts(n,t),e,r[l].type);!function MM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let i=!1,a=!1,u=vo(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Gr(n.mergedAttrs,c.hostAttrs),IM(e,n,t,u,c),bM(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),i=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function pM(e,t,n){const o=t.directiveEnd,s=e.data,i=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=s[c],f=n?n.get(d):null,p=f?f.outputs:null;u=ug(d.inputs,c,u,f?f.inputs:null),l=ug(d.outputs,c,l,p);const g=null===u||null===i||pf(t)?null:TM(u,c,i);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,s)}function dg(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,i=function hE(){return S.lFrame.currentDirectiveIndex}();try{Mn(s);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];ru(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&CM(u,l)}}finally{Mn(-1),ru(i)}}function CM(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function El(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function bM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ct(t)&&(n[""]=e)}}function IM(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=bn(o.type)),i=new to(s,ct(o),D);e.blueprint[r]=i,n[r]=i,function _M(e,t,n,r,o){const s=o.hostBindings;if(s){let i=e.hostBindingOpCodes;null===i&&(i=e.hostBindingOpCodes=[]);const a=~t.index;(function vM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=a&&i.push(a),i.push(n,r,s)}}(e,t,r,vo(e,n,o.hostVars,O),o)}function AM(e,t,n,r,o,s){const i=s[t];if(null!==i)for(let a=0;a<i.length;)fg(r,n,i[a++],i[a++],i[a++])}function fg(e,t,n,r,o){const s=nt(null);try{const i=e.inputTransforms;null!==i&&i.hasOwnProperty(r)&&(o=i[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{nt(s)}}function TM(e,t,n){let r=null,o=0;for(;o<n.length;){const s=n[o];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const i=e[s];for(let a=0;a<i.length;a+=2)if(i[a]===t){r.push(s,i[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function hg(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function pg(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const i=e.data[s];su(n[r]),i.contentQueries(2,t[s],s)}}}function di(e,t){return e[Wr]?e[Cf][lt]=t:e[Wr]=t,e[Cf]=t,t}function bl(e,t,n){su(0);const r=nt(null);try{t(e,n)}finally{nt(r)}}function _g(e,t){const n=e[tn],r=n?n.get(Gt,null):null;r&&r.handleError(t)}function Ml(e,t,n,r,o){for(let s=0;s<n.length;){const i=n[s++],a=n[s++];fg(e.data[i],t[i],r,a,o)}}function qt(e,t,n){const r=ws(t,e);!function Zh(e,t,n){e.setValue(t,n)}(e[N],r,n)}function NM(e,t){const n=Qe(t,e),r=n[E];!function xM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ae];null!==o&&null===n[jt]&&(n[jt]=sl(o,n[tn])),Il(r,n,n[ce])}function Il(e,t,n){iu(t);try{const r=e.viewQuery;null!==r&&bl(1,r,n);const o=e.template;null!==o&&sg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&pg(e,t),e.staticViewQueries&&bl(2,e.viewQuery,n);const s=e.components;null!==s&&function OM(e,t){for(let n=0;n<t.length;n++)NM(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[P]&=-5,au()}}let vg=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,s){const i=typeof Zone>"u"?null:Zone.current,a=function UC(e,t,n){const r=Object.create(GC);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const o=i=>{r.cleanupFn=i};return r.ref={notify:()=>Nf(r),run:()=>{if(r.dirty=!1,r.hasRun&&!xf(r))return;r.hasRun=!0;const i=Ya(r);try{r.cleanupFn(),r.cleanupFn=jf,r.fn(o)}finally{Qa(r,i)}},cleanup:()=>r.cleanupFn()},r.ref}(r,c=>{this.all.has(c)&&this.queue.set(c,i)},s);let u;this.all.add(a),a.notify();const l=()=>{a.cleanup(),u?.(),this.all.delete(a),this.queue.delete(a)};return u=o?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>new e}),t})();function fi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?s=a:1==s?o=Na(o,a):2==s&&(r=Na(r,a+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Do(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];null!==s&&r.push(K(s)),Oe(s)&&Dg(s,r);const i=n.type;if(8&i)Do(e,t,n.child,r);else if(32&i){const a=Au(n,t);let u;for(;u=a();)r.push(u)}else if(16&i){const a=rp(t,n);if(Array.isArray(a))r.push(...a);else{const u=lo(t[de]);Do(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dg(e,t){for(let n=ve;n<e.length;n++){const r=e[n],o=r[E].firstChild;null!==o&&Do(r[E],r,o,t)}e[Et]!==e[ae]&&t.push(e[Et])}function hi(e,t,n,r=!0){const o=t[$n],s=o.rendererFactory,i=o.afterRenderEventManager;s.begin?.(),i?.begin();try{Cg(e,t,e.template,n)}catch(u){throw r&&_g(t,u),u}finally{s.end?.(),o.effectManager?.flush(),i?.end()}}function Cg(e,t,n,r){const o=t[P];if(256!=(256&o)){t[$n].effectManager?.flush(),iu(t);try{qf(t),function eh(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&sg(e,t,n,2,r);const i=3==(3&o);if(i){const l=e.preOrderCheckHooks;null!==l&&Is(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ss(t,l,0,null),uu(t,0)}if(function RM(e){for(let t=zh(e);null!==t;t=qh(t)){if(!t[wf])continue;const n=t[zn];for(let r=0;r<n.length;r++){eE(n[r])}}}(t),Eg(t,2),null!==e.contentQueries&&pg(e,t),i){const l=e.contentCheckHooks;null!==l&&Is(t,l)}else{const l=e.contentHooks;null!==l&&Ss(t,l,1),uu(t,1)}!function iM(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=eg(t,Xr);try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)Mn(~s);else{const i=s,a=n[++o],u=n[++o];fE(a,i),r.dirty=!1;const l=Ya(r);try{u(2,t[i])}finally{Qa(r,l)}}}}finally{null===t[Xr]&&tg(t,Xr),Mn(-1)}}(e,t);const a=e.components;null!==a&&bg(t,a,0);const u=e.viewQuery;if(null!==u&&bl(2,u,r),i){const l=e.viewCheckHooks;null!==l&&Is(t,l)}else{const l=e.viewHooks;null!==l&&Ss(t,l,2),uu(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[P]&=-73,Wf(t)}finally{au()}}}function Eg(e,t){for(let n=zh(e);null!==n;n=qh(n))for(let r=ve;r<n.length;r++)wg(n[r],t)}function kM(e,t,n){wg(Qe(t,e),n)}function wg(e,t){if(!function JC(e){return 128==(128&e[P])}(e))return;const n=e[E],r=e[P];if(80&r&&0===t||1024&r||2===t)Cg(n,e,n.template,e[ce]);else if(e[qr]>0){Eg(e,1);const o=n.components;null!==o&&bg(e,o,1)}}function bg(e,t,n){for(let r=0;r<t.length;r++)kM(e,t[r],n)}class Co{get rootNodes(){const t=this._lView,n=t[E];return Do(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ce]}set context(t){this._lView[ce]=t}get destroyed(){return 256==(256&this._lView[P])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[oe];if(Oe(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&($s(t,r),Os(n,r))}this._attachedToViewContainer=!1}Nu(this._lView[E],this._lView)}onDestroy(t){!function Yf(e,t){if(256==(256&e[P]))throw new C(911,!1);null===e[nn]&&(e[nn]=[]),e[nn].push(t)}(this._lView,t)}markForCheck(){_o(this._cdRefInjectingView||this._lView)}detach(){this._lView[P]&=-129}reattach(){this._lView[P]|=128}detectChanges(){hi(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Mw(e,t){fo(e,t,t[N],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class LM extends Co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;hi(t[E],t,t[ce],!1)}checkNoChanges(){}get context(){return null}}class Mg extends ii{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=H(t);return new Eo(n,this.ngModule)}}function Ig(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class jM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=gs(r);const o=this.injector.get(t,ul,r);return o!==ul||n===ul?o:this.parentInjector.get(t,n,r)}}class Eo extends xp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=Ig(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ig(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function bC(e){return e.map(wC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let s=(o=o||this.ngModule)instanceof It?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const i=s?new jM(t,s):t,a=i.get(Pp,null);if(null===a)throw new C(407,!1);const d={rendererFactory:a,sanitizer:i.get(Rb,null),effectManager:i.get(vg,null),afterRenderEventManager:i.get(gl,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function uM(e,t,n,r){const s=r.get(Qp,!1)||n===at.ShadowDom,i=e.selectRootElement(t,s);return function lM(e){ag(e)}(i),i}(f,r,this.componentDef.encapsulation,i):Hs(f,h,function VM(e){const t=e.toLowerCase();return"svg"===t?Uf:"math"===t?"math":null}(h)),v=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=sl(p,i,!0));const b=Dl(0,null,null,1,0,null,null,null,null,null,null),w=ci(null,b,null,v,null,null,d,f,i,null,m);let k,Ee;iu(w);try{const et=this.componentDef;let jn,ma=null;et.findHostDirectiveDefs?(jn=[],ma=new Map,et.findHostDirectiveDefs(et,jn,ma),jn.push(et)):jn=[et];const cP=function HM(e,t){const n=e[E],r=V;return e[r]=t,_r(n,r,2,"#host",null)}(w,p),dP=function $M(e,t,n,r,o,s,i){const a=o[E];!function UM(e,t,n,r){for(const o of e)t.mergedAttrs=Gr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(fi(t,t.mergedAttrs,!0),null!==n&&ap(r,n,t))}(r,e,t,i);let u=null;null!==t&&(u=sl(t,o[tn]));const l=s.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=ci(o,ig(n),null,c,o[e.index],e,s,l,null,null,u);return a.firstCreatePass&&El(a,e,r.length-1),di(o,d),o[e.index]=d}(cP,p,et,jn,w,d,f);Ee=zf(b,V),p&&function zM(e,t,n,r){if(r)Ga(e,n,["ng-version",kb.full]);else{const{attrs:o,classes:s}=function MC(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!ut(o))break;o=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ga(e,n,o),s&&s.length>0&&ip(e,n,s.join(" "))}}(f,et,p,r),void 0!==n&&function qM(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];r.push(null!=s?Array.from(s):null)}}(Ee,this.ngContentSelectors,n),k=function GM(e,t,n,r,o,s){const i=Ce(),a=o[E],u=Ge(i,o);cg(a,o,i,n,null,r);for(let c=0;c<n.length;c++)Ie(In(o,a,i.directiveStart+c,i),o);dg(a,o,i),u&&Ie(u,o);const l=In(o,a,i.directiveStart+i.componentOffset,i);if(e[ce]=o[ce]=l,null!==s)for(const c of s)c(l,t);return yl(a,i,e),l}(dP,et,jn,ma,w,[WM]),Il(b,w,null)}finally{au()}return new BM(this.componentType,k,gr(Ee,w),w,Ee)}}class BM extends Tb{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new LM(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;Ml(s[E],s,o,t,n),this.previousInputValues.set(t,n),_o(Qe(this._tNode.index,s))}}get injector(){return new Re(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function WM(){const e=Ce();Ms(_()[E],e)}function Y(e){let t=function Sg(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(ct(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const i=e;i.inputs=pi(e.inputs),i.inputTransforms=pi(e.inputTransforms),i.declaredInputs=pi(e.declaredInputs),i.outputs=pi(e.outputs);const a=o.hostBindings;a&&XM(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&YM(e,u),l&&QM(e,l),ls(e.inputs,o.inputs),ls(e.declaredInputs,o.declaredInputs),ls(e.outputs,o.outputs),null!==o.inputTransforms&&(null===i.inputTransforms&&(i.inputTransforms={}),ls(i.inputTransforms,o.inputTransforms)),ct(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let i=0;i<s.length;i++){const a=s[i];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function ZM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Gr(o.hostAttrs,n=Gr(n,o.hostAttrs))}}(r)}function pi(e){return e===Dt?{}:e===G?[]:e}function YM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function QM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function XM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function gi(e){return!!Sl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Dr(e,t,n,r){return Te(e,Xn(),n)?t+T(n)+r:O}function Cr(e,t,n,r,o,s){const a=function xn(e,t,n,r){const o=Te(e,t,n);return Te(e,t+1,r)||o}(e,function Ht(){return S.lFrame.bindingIndex}(),n,o);return $t(2),a?t+T(n)+r+T(o)+s:O}function Pl(e,t,n,r,o,s,i,a){const u=_(),l=$(),c=e+V,d=l.firstCreatePass?function wI(e,t,n,r,o,s,i,a,u){const l=t.consts,c=_r(t,e,4,i||null,on(l,a));Cl(t,n,c,on(l,u)),Ms(t,c);const d=c.tView=Dl(2,c,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,s,i):l.data[c];bt(d,!1);const f=Ug(l,u,d,e);bs()&&Gs(l,u,f,d),Ie(f,u),di(u,u[c]=hg(f,u,f,d)),Ds(d)&&_l(l,u,d),null!=i&&vl(u,d,a)}let Ug=function Gg(e,t,n,r){return sn(!0),t[N].createComment("")};function Ar(e){return function Wn(e,t){return e[t]}(function cE(){return S.lFrame.contextLView}(),V+e)}function ln(e,t,n){const r=_();return Te(r,Xn(),t)&&Je($(),ie(),r,e,t,r[N],n,!1),ln}function Fl(e,t,n,r,o){const i=o?"class":"style";Ml(e,n,t.inputs[i],i,r)}function R(e,t,n,r){const o=_(),s=$(),i=V+e,a=o[N],u=s.firstCreatePass?function SI(e,t,n,r,o,s){const i=t.consts,u=_r(t,e,2,r,on(i,o));return Cl(t,n,u,on(i,s)),null!==u.attrs&&fi(u,u.attrs,!1),null!==u.mergedAttrs&&fi(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(i,s,o,t,n,r):s.data[i],l=zg(s,o,u,a,t,e);o[i]=l;const c=Ds(u);return bt(u,!0),ap(a,l,u),32!=(32&u.flags)&&bs()&&Gs(s,o,l,u),0===function nE(){return S.lFrame.elementDepthCount}()&&Ie(l,o),function rE(){S.lFrame.elementDepthCount++}(),c&&(_l(s,o,u),yl(s,u,o)),null!==r&&vl(o,u),R}function L(){let e=Ce();tu()?function nu(){S.lFrame.isParent=!1}():(e=e.parent,bt(e,!1));const t=e;(function sE(e){return S.skipHydrationRootTNode===e})(t)&&function lE(){S.skipHydrationRootTNode=null}(),function oE(){S.lFrame.elementDepthCount--}();const n=$();return n.firstCreatePass&&(Ms(n,e),qa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wE(e){return 0!=(8&e.flags)}(t)&&Fl(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bE(e){return 0!=(16&e.flags)}(t)&&Fl(n,t,_(),t.stylesWithoutHost,!1),L}function ke(e,t,n,r){return R(e,t,n,r),L(),ke}let zg=(e,t,n,r,o,s)=>(sn(!0),Hs(r,o,function lh(){return S.lFrame.currentNamespace}()));function Ll(){return _()}function Di(e){return!!e&&"function"==typeof e.then}function Zg(e){return!!e&&"function"==typeof e.subscribe}function me(e,t,n,r){const o=_(),s=$(),i=Ce();return function Qg(e,t,n,r,o,s,i){const a=Ds(r),l=e.firstCreatePass&&function mg(e){return e.cleanup||(e.cleanup=[])}(e),c=t[ce],d=function gg(e){return e[Hn]||(e[Hn]=[])}(t);let f=!0;if(3&r.type||i){const g=Ge(r,t),y=i?i(g):g,v=d.length,m=i?w=>i(K(w[r.index])):r.index;let b=null;if(!i&&a&&(b=function PI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const i=o[s];if(i===n&&o[s+1]===r){const a=t[Hn],u=o[s+2];return a.length>u?a[u]:null}"string"==typeof i&&(s+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=s,b.__ngLastListenerFn__=s,f=!1;else{s=Jg(r,t,c,s,!1);const w=n.listen(y,o,s);d.push(s,w),l&&l.push(o,m,v,v+1)}}else s=Jg(r,t,c,s,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const k=t[p[y]][p[y+1]].subscribe(s),Ee=d.length;d.push(s,k),l&&l.push(o,r.index,Ee,-(Ee+1))}}}(s,o,o[N],i,e,t,r),me}function Xg(e,t,n,r){try{return wt(6,t,n),!1!==n(r)}catch(o){return _g(e,o),!1}finally{wt(7,t,n)}}function Jg(e,t,n,r,o){return function s(i){if(i===Function)return r;_o(e.componentOffset>-1?Qe(e.index,t):t);let u=Xg(t,n,r,i),l=s.__ngNextListenerFn__;for(;l;)u=Xg(t,n,l,i)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&i.preventDefault(),u}}function Ci(e=1){return function gE(e){return(S.lFrame.contextLView=function mE(e,t){for(;e>0;)t=t[Un],e--;return t}(e,S.lFrame.contextLView))[ce]}(e)}function Vl(e,t,n){return jl(e,"",t,"",n),Vl}function jl(e,t,n,r,o){const s=_(),i=Dr(s,t,n,r);return i!==O&&Je($(),ie(),s,e,i,s[N],o,!1),jl}function Ei(e,t){return e<<17|t<<2}function cn(e){return e>>17&32767}function Bl(e){return 2|e}function On(e){return(131068&e)>>2}function Hl(e,t){return-131069&e|t<<2}function $l(e){return 1|e}function am(e,t,n,r,o){const s=e[n+1],i=null===t;let a=r?cn(s):On(s),u=!1;for(;0!==a&&(!1===u||i);){const c=e[a+1];$I(e[a],t)&&(u=!0,e[a+1]=r?$l(c):Bl(c)),a=r?cn(c):On(c)}u&&(e[n+1]=r?Bl(s):$l(s))}function $I(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&sr(e,t)>=0}const ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function um(e){return e.substring(ye.key,ye.keyEnd)}function lm(e,t){const n=ye.textEnd;return n===t?-1:(t=ye.keyEnd=function qI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ye.key=t,n),Tr(e,t,n))}function Tr(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function wi(e,t){return function ht(e,t,n,r){const o=_(),s=$(),i=$t(2);s.firstUpdatePass&&mm(s,e,i,r),t!==O&&Te(o,i,t)&&_m(s,s.data[Fe()],o,o[N],e,o[i+1]=function rS(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=pe(un(e)))),e}(t,n),r,i)}(e,t,null,!0),wi}function So(e){!function pt(e,t,n,r){const o=$(),s=$t(2);o.firstUpdatePass&&mm(o,null,s,r);const i=_();if(n!==O&&Te(i,s,n)){const a=o.data[Fe()];if(Dm(a,r)&&!gm(o,s)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Na(u,n||"")),Fl(o,a,i,n,r)}else!function nS(e,t,n,r,o,s,i,a){o===O&&(o=G);let u=0,l=0,c=0<o.length?o[0]:null,d=0<s.length?s[0]:null;for(;null!==c||null!==d;){const f=u<o.length?o[u+1]:void 0,h=l<s.length?s[l+1]:void 0;let g,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,g=h),null!==p&&_m(e,t,n,r,p,g,i,a),c=u<o.length?o[u]:null,d=l<s.length?s[l]:null}}(o,a,i,i[N],i[s+1],i[s+1]=function eS(e,t,n){if(null==n||""===n)return G;const r=[],o=un(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}(tS,Nt,e,!0)}function Nt(e,t){for(let n=function GI(e){return function dm(e){ye.key=0,ye.keyEnd=0,ye.value=0,ye.valueEnd=0,ye.textEnd=e.length}(e),lm(e,Tr(e,0,ye.textEnd))}(t);n>=0;n=lm(t,n))Xe(e,um(t),!0)}function gm(e,t){return t>=e.expandoStartIndex}function mm(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[Fe()],i=gm(e,n);Dm(s,r)&&null===t&&!i&&(t=!1),t=function QI(e,t,n,r){const o=function ou(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ao(n=Ul(null,e,t,n,r),t.attrs,r),s=null);else{const i=t.directiveStylingLast;if(-1===i||e[i]!==o)if(n=Ul(o,e,t,n,r),null===s){let u=function XI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==On(r))return e[cn(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Ul(null,e,t,u[1],r),u=Ao(u,t.attrs,r),function JI(e,t,n,r){e[cn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else s=function KI(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=Ao(r,e[s].hostAttrs,n);return Ao(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function BI(e,t,n,r,o,s){let i=s?t.classBindings:t.styleBindings,a=cn(i),u=On(i);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||sr(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=cn(e[a+1]);e[r+1]=Ei(f,a),0!==f&&(e[f+1]=Hl(e[f+1],r)),e[a+1]=function VI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ei(a,0),0!==a&&(e[a+1]=Hl(e[a+1],r)),a=r;else e[r+1]=Ei(u,0),0===a?a=r:e[u+1]=Hl(e[u+1],r),u=r;l&&(e[r+1]=Bl(e[r+1])),am(e,c,r,!0),am(e,c,r,!1),function HI(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&sr(s,t)>=0&&(n[r+1]=$l(n[r+1]))}(t,c,e,r,s),i=Ei(a,u),s?t.classBindings=i:t.styleBindings=i}(o,s,t,n,i,r)}}function Ul(e,t,n,r,o){let s=null;const i=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<i&&(s=t[a],r=Ao(r,s.hostAttrs,o),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Ao(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const i=t[s];"number"==typeof i?o=i:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xe(e,i,!!n||t[++s]))}return void 0===e?null:e}function tS(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Xe(e,r,n)}function _m(e,t,n,r,o,s,i,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function jI(e){return 1==(1&e)}(l)?vm(u,t,n,o,On(l),i):void 0;bi(c)||(bi(s)||function LI(e){return 2==(2&e)}(l)&&(s=vm(u,null,n,o,a,i)),function Rw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:an.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=an.Important),e.setStyle(n,r,o,s))}}(r,i,ws(Fe(),n),o,s))}function vm(e,t,n,r,o,s){const i=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===O&&(f=d?G:void 0);let h=d?yu(f,r):c===r?f:void 0;if(l&&!bi(h)&&(h=yu(u,r)),bi(h)&&(a=h,i))return a;const p=e[o+1];o=i?cn(p):On(p)}if(null!==t){let u=s?t.residualClasses:t.residualStyles;null!=u&&(a=yu(u,r))}return a}function bi(e){return void 0!==e}function Dm(e,t){return 0!=(e.flags&(t?8:16))}function ee(e,t=""){const n=_(),r=$(),o=e+V,s=r.firstCreatePass?_r(r,o,1,t,null):r.data[o],i=Cm(r,n,s,t,e);n[o]=i,bs()&&Gs(r,n,i,s),bt(s,!1)}let Cm=(e,t,n,r,o)=>(sn(!0),function Bs(e,t){return e.createText(t)}(t[N],r));function Mi(e){return To("",e,""),Mi}function To(e,t,n){const r=_(),o=Dr(r,e,t,n);return o!==O&&qt(r,Fe(),o),To}function Gl(e,t,n,r,o){const s=_(),i=Cr(s,e,t,n,r,o);return i!==O&&qt(s,Fe(),i),Gl}const xr="en-US";let $m=xr;function Wl(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let s=0;s<e.length;s++)Wl(e[s],t,n,r,o);else{const s=$(),i=_(),a=Ce();let u=An(e)?e:A(e.provide);const l=Mp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(An(e)||!e.multi){const h=new to(l,o,D),p=Yl(u,t,o?c:c+f,d);-1===p?(hu(Ts(a,i),s,u),Zl(s,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),i.push(h)):(n[p]=h,i[p]=h)}else{const h=Yl(u,t,c+f,d),p=Yl(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){hu(Ts(a,i),s,u);const v=function bA(e,t,n,r,o){const s=new to(e,n,D);return s.multi=[],s.index=t,s.componentProviders=0,hy(s,o,r&&!n),s}(o?wA:EA,n.length,o,r,l);!o&&y&&(n[p].providerFactory=v),Zl(s,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),i.push(v)}else Zl(s,e,h>-1?h:p,hy(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Zl(e,t,n,r){const o=An(t),s=function fb(e){return!!e.useClass}(t);if(o||s){const u=(s?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function hy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Yl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function EA(e,t,n,r){return Ql(this.multi,[])}function wA(e,t,n,r){const o=this.multi;let s;if(this.providerFactory){const i=this.providerFactory.componentProviders,a=In(n,n[E],this.providerFactory.index,r);s=a.slice(0,i),Ql(o,s);for(let u=i;u<a.length;u++)s.push(a[u])}else s=[],Ql(o,s);return s}function Ql(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t=[]){return n=>{n.providersResolver=(r,o)=>function CA(e,t,n){const r=$();if(r.firstCreatePass){const o=ct(e);Wl(n,r.data,r.blueprint,o,!0),Wl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Fn{}class MA{}class Xl extends Fn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Mg(this);const o=function Ye(e,t){const n=e[af]||null;if(!n&&!0===t)throw new Error(`Type ${pe(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function zt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Vp(t,n,[{provide:Fn,useValue:this},{provide:ii,useValue:this.componentFactoryResolver},...r],pe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Jl extends MA{constructor(t){super(),this.moduleType=t}create(t){return new Xl(this.moduleType,t,[])}}function Ro(e,t,n,r){return function Cy(e,t,n,r,o,s){const i=t+n;return Te(e,i,o)?function At(e,t,n){return e[t]=n}(e,i+1,s?r.call(s,o):r(o)):function ko(e,t){const n=e[t];return n===O?void 0:n}(e,i+1)}(_(),function Pe(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function rT(e,t,n,r=!0){const o=t[E];if(function Sw(e,t,n,r){const o=ve+r,s=n.length;r>0&&(n[o-1][lt]=t),r<s-ve?(t[lt]=n[o],bh(n,ve+r,t)):(n.push(t),t[lt]=null),t[oe]=n;const i=t[Zr];null!==i&&n!==i&&function Aw(e,t){const n=e[zn];t[de]!==t[oe][oe][de]&&(e[wf]=!0),null===n?e[zn]=[t]:n.push(t)}(i,t);const a=t[Ct];null!==a&&a.insertView(e),t[P]|=128}(o,t,e,n),r){const s=Fu(n,e),i=t[N],a=Us(i,e[Et]);null!==a&&function bw(e,t,n,r,o,s){r[ae]=o,r[be]=t,fo(e,r,n,1,o,s)}(o,e[be],i,t,a,s)}}let Zt=(()=>{class t{}return t.__NG_ELEMENT_ID__=iT,t})();const oT=Zt,sT=class extends oT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function nT(e,t,n,r){const o=t.tView,a=ci(e,o,n,4096&e[P]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[Zr]=e[t.index];const l=e[Ct];return null!==l&&(a[Ct]=l.createEmbeddedView(o)),Il(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new Co(o)}};function iT(){return function Ni(e,t){return 4&e.type?new sT(t,e,gr(e,t)):null}(Ce(),_())}let xt=(()=>{class t{}return t.__NG_ELEMENT_ID__=fT,t})();function fT(){return function Oy(e,t){let n;const r=t[e.index];return Oe(r)?n=r:(n=hg(r,t,null,e),t[e.index]=n,di(t,n)),Py(n,t,e,r),new Ny(n,e,t)}(Ce(),_())}const hT=xt,Ny=class extends hT{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return gr(this._hostTNode,this._hostLView)}get injector(){return new Re(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ns(this._hostTNode,this._hostLView);if(cu(t)){const n=ro(t,this._hostLView),r=no(t);return new Re(n[E].data[r+8],n)}return new Re(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=xy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,s){const i=t&&!function so(e){return"function"==typeof e}(t);let a;if(i)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,s=g.environmentInjector||g.ngModuleRef}const u=i?t:new Eo(H(t)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const y=(i?l:this.parentInjector).get(It,null);y&&(s=y)}H(u.componentType??{});const h=u.create(l,o,null,s);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function KC(e){return Oe(e[oe])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[oe],c=new Ny(l,l[be],l[oe]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;return rT(a,o,i,!r),t.attachToViewContainerRef(),bh(tc(a),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=xy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);r&&(Os(tc(this._lContainer),n),Nu(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);return r&&null!=Os(tc(this._lContainer),n)?new Co(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function xy(e){return e[8]}function tc(e){return e[8]||(e[8]=[])}let Py=function Fy(e,t,n,r){if(e[Et])return;let o;o=8&n.type?K(r):function pT(e,t){const n=e[N],r=n.createComment(""),o=Ge(t,e);return Sn(n,Us(n,o),r,function Ow(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Et]=o};const ZT=new M("Application Initializer");let dc=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=U(ZT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const s of this.appInits){const i=s();if(Di(i))r.push(i);else if(Zg(i)){const a=new Promise((u,l)=>{i.subscribe({complete:u,error:l})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(s=>{this.reject(s)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Yt=new M("LocaleId",{providedIn:"root",factory:()=>U(Yt,j.Optional|j.SkipSelf)||function QT(){return typeof $localize<"u"&&$localize.locale||xr}()});let fc=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Y0(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const i_=new M(""),Fi=new M("");let yc,gc=(()=>{var e;class t{constructor(r,o,s){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yc||(function v1(e){yc=e}(s),s.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,s){let i=-1;o&&o>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:i,updateCb:s})}whenStable(r,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,s){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(F(ue),F(mc),F(Fi))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})(),mc=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return yc?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),dn=null;const a_=new M("AllowMultipleToken"),_c=new M("PlatformDestroyListeners"),u_=new M("appBootstrapListener");function d_(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(s=[])=>{let i=vc();if(!i||i.injector.get(a_,!1)){const a=[...n,...s,{provide:o,useValue:!0}];e?e(a):function E1(e){if(dn&&!dn.get(a_,!1))throw new C(400,!1);(function l_(){!function VC(e){Rf=e}(()=>{throw new C(600,!1)})})(),dn=e;const t=e.get(h_);(function c_(e){e.get(Ip,null)?.forEach(n=>n())})(e)}(function f_(e=[],t){return ft.create({name:t,providers:[{provide:Zu,useValue:"platform"},{provide:_c,useValue:new Set([()=>dn=null])},...e]})}(a,r))}return function b1(e){const t=vc();if(!t)throw new C(401,!1);return t}()}}function vc(){return dn?.get(h_)??null}let h_=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const s=function M1(e="zone.js",t){return"noop"===e?new Zb:"zone.js"===e?new ue(t):e}(o?.ngZone,function p_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const i=function SA(e,t,n){return new Xl(e,t,n)}(r.moduleType,this.injector,function v_(e){return[{provide:ue,useFactory:e},{provide:Ys,multi:!0,useFactory:()=>{const t=U(S1,{optional:!0});return()=>t.initialize()}},{provide:__,useFactory:I1},{provide:Up,useFactory:Gp}]}(()=>s)),a=i.injector.get(Gt,null);return s.runOutsideAngular(()=>{const u=s.onError.subscribe({next:l=>{a.handleError(l)}});i.onDestroy(()=>{Ri(this._modules,i),u.unsubscribe()})}),function g_(e,t,n){try{const r=n();return Di(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,s,()=>{const u=i.injector.get(dc);return u.runInitializers(),u.donePromise.then(()=>(function Um(e){tt(e,"Expected localeId to be defined"),"string"==typeof e&&($m=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Yt,xr)||xr),this._moduleDoBootstrap(i),i))})})}bootstrapModule(r,o=[]){const s=m_({},o);return function D1(e,t,n){const r=new Jl(n);return Promise.resolve(r)}(0,0,r).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(r){const o=r.injector.get(Bo);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!r.instance.ngDoBootstrap)throw new C(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(_c,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(F(ft))},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function m_(e,t){return Array.isArray(t)?t.reduce(m_,e):{...e,...t}}let Bo=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(__),this.zoneIsStable=U(Up),this.componentTypes=[],this.components=[],this.isStable=U(fc).hasPendingTasks.pipe(Qd(r=>r?Aa(!1):this.zoneIsStable),function Q0(e,t=Ea){return e=e??X0,Ft((n,r)=>{let o,s=!0;n.subscribe(Rt(r,i=>{const a=t(i);(s||!e(o,a))&&(s=!1,o=a,r.next(i))}))})}(),Yd()),this._injector=U(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const s=r instanceof xp;if(!this._injector.get(dc).done)throw!s&&function zr(e){const t=H(e)||_e(e)||xe(e);return null!==t&&t.standalone}(r),new C(405,!1);let a;a=s?r:this._injector.get(ii).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const u=function C1(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Fn),c=a.create(ft.NULL,[],o||a.selector,u),d=c.location.nativeElement,f=c.injector.get(i_,null);return f?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Ri(this.components,c),f?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;Ri(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(u_,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Ri(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Ri(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const __=new M("",{providedIn:"root",factory:()=>U(Gt).handleError.bind(void 0)});function I1(){const e=U(ue),t=U(Gt);return n=>e.runOutsideAngular(()=>t.handleError(n))}let S1=(()=>{var e;class t{constructor(){this.zone=U(ue),this.applicationRef=U(Bo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class b_{constructor(){}supports(t){return gi(t)}create(t){return new k1(t)}}const R1=(e,t)=>t;class k1{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||R1}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex<I_(r,o,s)?n:r,a=I_(i,o,s),u=i.currentIndex;if(i===r)o--,r=r._nextRemoved;else if(n=n._next,null==i.previousIndex)o++;else{s||(s=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<s.length?s[f]:s[f]=0,p=h+f;c<=p&&p<l&&(s[f]=h+1)}s[i.previousIndex]=c-l}}a!==u&&t(i,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!gi(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,i,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)s=t[a],i=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,s,i,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,i,a),r=!0),n=n._next}else o=0,function sI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new L1(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new M_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new M_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class L1{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class V1{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class M_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new V1,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function I_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class S_{constructor(){}supports(t){return t instanceof Map||Sl(t)}create(){return new j1}}class j1{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Sl(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new B1(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class B1{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function A_(){return new Vi([new b_])}let Vi=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||A_()),deps:[[t,new Du,new vu]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(null!=o)return o;throw new C(901,!1)}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:A_}),t})();function T_(){return new Ho([new S_])}let Ho=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||T_()),deps:[[t,new Du,new vu]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(o)return o;throw new C(901,!1)}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:T_}),t})();const U1=d_(null,"core",[]);let G1=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(F(Bo))},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({}),t})(),Ic=null;function $o(){return Ic}class rN{}const fn=new M("DocumentToken");function q_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(s)}return null}class zN{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Y_=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,s){this._viewContainer=r,this._template=o,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((s,i,a)=>{if(null==s.previousIndex)o.createEmbeddedView(this._template,new zN(s.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===i?void 0:i);else if(null!==i){const u=o.get(i);o.move(u,a),Q_(u,s)}});for(let s=0,i=o.length;s<i;s++){const u=o.get(s).context;u.index=s,u.count=i,u.ngForOf=this._ngForOf}r.forEachIdentityChange(s=>{Q_(o.get(s.currentIndex),s)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(D(xt),D(Zt),D(Vi))},e.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function Q_(e,t){e.context.$implicit=t.item}let X_=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new qN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){J_("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){J_("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(D(xt),D(Zt))},e.\u0275dir=x({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class qN{constructor(){this.$implicit=null,this.ngIf=null}}function J_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${pe(t)}'.`)}let ev=(()=>{var e;class t{constructor(r,o,s){this._ngEl=r,this._differs=o,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){const r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){const[s,i]=r.split("."),a=-1===s.indexOf("-")?void 0:an.DashCase;null!=o?this._renderer.setStyle(this._ngEl.nativeElement,s,i?`${o}${i}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,s,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}}return(e=t).\u0275fac=function(r){return new(r||e)(D(dt),D(Ho),D(Nn))},e.\u0275dir=x({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),_x=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({}),t})();function rv(e){return"server"===e}class ov{}class zx extends rN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Uc extends zx{static makeCurrent(){!function nN(e){Ic||(Ic=e)}(new Uc)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function qx(){return qo=qo||document.querySelector("base"),qo?qo.getAttribute("href"):null}();return null==n?null:function Wx(e){Ji=Ji||document.createElement("a"),Ji.setAttribute("href",e);const t=Ji.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return q_(document.cookie,t)}}let Ji,qo=null,Yx=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const Gc=new M("EventManagerPlugins");let lv=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(s=>{s.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,s){return this._findPluginFor(o).addEventListener(r,o,s)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(i=>i.supports(r)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(F(Gc),F(ue))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();class cv{constructor(t){this._doc=t}}const zc="ng-app-id";let dv=(()=>{var e;class t{constructor(r,o,s,i={}){this.doc=r,this.appId=o,this.nonce=s,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=rv(i),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(s=>s.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${zc}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(s=>{null!=s.textContent&&o.set(s.textContent,s)}),o}return null}changeUsageCount(r,o){const s=this.styleRef;if(s.has(r)){const i=s.get(r);return i.usage+=o,i.usage}return s.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const s=this.styleNodesInDOM,i=s?.get(o);if(i?.parentNode===r)return s.delete(o),i.removeAttribute(zc),i;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(zc,this.appId),a}}addStyleToHost(r,o){const s=this.getStyleElement(r,o);r.appendChild(s);const i=this.styleRef,a=i.get(o)?.elements;a?a.push(s):i.set(o,{elements:[s],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fn),F(ei),F(Sp,8),F(Tn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const qc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Wc=/%COMP%/g,Kx=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function hv(e,t){return t.map(n=>n.replace(Wc,e))}let pv=(()=>{var e;class t{constructor(r,o,s,i,a,u,l,c=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=s,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=u,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=rv(u),this.defaultRenderer=new Zc(r,a,l,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===at.ShadowDom&&(o={...o,encapsulation:at.Emulated});const s=this.getOrCreateRenderer(r,o);return s instanceof mv?s.applyToHost(r):s instanceof Yc&&s.applyStyles(),s}getOrCreateRenderer(r,o){const s=this.rendererByCompId;let i=s.get(o.id);if(!i){const a=this.doc,u=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case at.Emulated:i=new mv(l,c,o,this.appId,d,a,u,f);break;case at.ShadowDom:return new rO(l,c,r,o,a,u,this.nonce,f);default:i=new Yc(l,c,o,d,a,u,f)}s.set(o.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(F(lv),F(dv),F(ei),F(Kx),F(fn),F(Tn),F(ue),F(Sp))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();class Zc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(qc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(gv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(gv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const s=qc[o];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=qc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(an.DashCase|an.Important)?t.style.setProperty(n,r,o&an.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&an.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=$o().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function gv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class rO extends Zc{constructor(t,n,r,o,s,i,a,u){super(t,s,i,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=hv(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Yc extends Zc{constructor(t,n,r,o,s,i,a,u){super(t,s,i,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?hv(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class mv extends Yc{constructor(t,n,r,o,s,i,a,u){const l=o+"-"+r.id;super(t,n,r,s,i,a,u,l),this.contentAttr=function eO(e){return"_ngcontent-%COMP%".replace(Wc,e)}(l),this.hostAttr=function tO(e){return"_nghost-%COMP%".replace(Wc,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let oO=(()=>{var e;class t extends cv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,s){return r.addEventListener(o,s,!1),()=>this.removeEventListener(r,o,s)}removeEventListener(r,o,s){return r.removeEventListener(o,s)}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const yv=["alt","control","meta","shift"],sO={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},iO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let aO=(()=>{var e;class t extends cv{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,s){const i=t.parseEventName(o),a=t.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$o().onAndCancel(r,i.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),s=o.shift();if(0===o.length||"keydown"!==s&&"keyup"!==s)return null;const i=t._normalizeKey(o.pop());let a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),yv.forEach(c=>{const d=o.indexOf(c);d>-1&&(o.splice(d,1),a+=c+".")}),a+=i,0!=o.length||0===i.length)return null;const l={};return l.domEventName=s,l.fullKey=a,l}static matchEventFullKeyCode(r,o){let s=sO[r.key]||r.key,i="";return o.indexOf("code.")>-1&&(s=r.code,i="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),yv.forEach(a=>{a!==s&&(0,iO[a])(r)&&(i+=a+".")}),i+=s,i===o)}static eventCallback(r,o,s){return i=>{t.matchEventFullKeyCode(i,r)&&s.runGuarded(()=>o(i))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const dO=d_(U1,"browser",[{provide:Tn,useValue:"browser"},{provide:Ip,useValue:function uO(){Uc.makeCurrent()},multi:!0},{provide:fn,useFactory:function cO(){return function Bw(e){Lu=e}(document),document},deps:[]}]),fO=new M(""),Dv=[{provide:Fi,useClass:class Zx{addToWindow(t){J.getAngularTestability=(r,o=!0)=>{const s=t.findTestabilityInTree(r,o);if(null==s)throw new C(5103,!1);return s},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(r=>{const o=J.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(u){i=i||u,s--,0==s&&r(i)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?$o().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:i_,useClass:gc,deps:[ue,mc,Fi]},{provide:gc,useClass:gc,deps:[ue,mc,Fi]}],Cv=[{provide:Zu,useValue:"root"},{provide:Gt,useFactory:function lO(){return new Gt},deps:[]},{provide:Gc,useClass:oO,multi:!0,deps:[fn,ue,Tn]},{provide:Gc,useClass:aO,multi:!0,deps:[fn]},pv,dv,lv,{provide:Pp,useExisting:pv},{provide:ov,useClass:Yx,deps:[]},[]];let hO=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:ei,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fO,12))},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({providers:[...Cv,...Dv],imports:[_x,G1]}),t})();typeof window<"u"&&window;const{isArray:DO}=Array,{getPrototypeOf:CO,prototype:EO,keys:wO}=Object;const{isArray:IO}=Array;function TO(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function NO(...e){const t=function B0(e){return re(Sa(e))?e.pop():void 0}(e),{args:n,keys:r}=function bO(e){if(1===e.length){const t=e[0];if(DO(t))return{args:t,keys:null};if(function MO(e){return e&&"object"==typeof e&&CO(e)===EO}(t)){const n=wO(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new we(s=>{const{length:i}=n;if(!i)return void s.complete();const a=new Array(i);let u=i,l=i;for(let c=0;c<i;c++){let d=!1;_t(n[c]).subscribe(Rt(s,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||s.next(r?TO(r,a):a),s.complete())}))}});return t?o.pipe(function AO(e){return Cn(t=>function SO(e,t){return IO(t)?e(...t):e(t)}(e,t))}(t)):o}let Mv=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(Nn),D(dt))},e.\u0275dir=x({type:e}),t})(),kn=(()=>{var e;class t extends Mv{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=function Me(e){return kt(()=>{const t=e.prototype.constructor,n=t[Lt]||pu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[Lt]||pu(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}(e)))(o||e)}}(),e.\u0275dir=x({type:e,features:[Y]}),t})();const Ot=new M("NgValueAccessor"),OO={provide:Ot,useExisting:X(()=>Ki),multi:!0},FO=new M("CompositionEventMode");let Ki=(()=>{var e;class t extends Mv{constructor(r,o,s){super(r,o),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function PO(){const e=$o()?$o().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(Nn),D(dt),D(FO,8))},e.\u0275dir=x({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&me("input",function(i){return o._handleInput(i.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(i){return o._compositionEnd(i.target.value)})},features:[se([OO]),Y]}),t})();function pn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Sv(e){return null!=e&&"number"==typeof e.length}const Ne=new M("NgValidators"),gn=new M("NgAsyncValidators"),RO=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Xc{static min(t){return function Av(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function Tv(e){return t=>{if(pn(t.value)||pn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function Nv(e){return pn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function xv(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function Ov(e){return pn(e.value)||RO.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function Pv(e){return t=>pn(t.value)||!Sv(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function Fv(e){return t=>Sv(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function Rv(e){if(!e)return ea;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(pn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return Hv(t)}static composeAsync(t){return $v(t)}}function ea(e){return null}function kv(e){return null!=e}function Lv(e){return Di(e)?us(e):e}function Vv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function jv(e,t){return t.map(n=>n(e))}function Bv(e){return e.map(t=>function kO(e){return!e.validate}(t)?t:n=>t.validate(n))}function Hv(e){if(!e)return null;const t=e.filter(kv);return 0==t.length?null:function(n){return Vv(jv(n,t))}}function Jc(e){return null!=e?Hv(Bv(e)):null}function $v(e){if(!e)return null;const t=e.filter(kv);return 0==t.length?null:function(n){return NO(jv(n,t).map(Lv)).pipe(Cn(Vv))}}function Kc(e){return null!=e?$v(Bv(e)):null}function Uv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Gv(e){return e._rawValidators}function zv(e){return e._rawAsyncValidators}function ed(e){return e?Array.isArray(e)?e:[e]:[]}function ta(e,t){return Array.isArray(e)?e.includes(t):e===t}function qv(e,t){const n=ed(t);return ed(e).forEach(o=>{ta(n,o)||n.push(o)}),n}function Wv(e,t){return ed(t).filter(n=>!ta(e,n))}class Zv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Jc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Kc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Be extends Zv{get formDirective(){return null}get path(){return null}}class mn extends Zv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Yv{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Qv=(()=>{var e;class t extends Yv{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(mn,2))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&wi("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]}),t})(),Xv=(()=>{var e;class t extends Yv{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(Be,10))},e.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&wi("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Y]}),t})();const Wo="VALID",ra="INVALID",Rr="PENDING",Zo="DISABLED";function rd(e){return(oa(e)?e.validators:e)||null}function od(e,t){return(oa(t)?t.asyncValidators:e)||null}function oa(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Kv(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")}function eD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class sa{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Wo}get invalid(){return this.status===ra}get pending(){return this.status==Rr}get disabled(){return this.status===Zo}get enabled(){return this.status!==Zo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(qv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(qv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Wv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Wv(t,this._rawAsyncValidators))}hasValidator(t){return ta(this._rawValidators,t)}hasAsyncValidator(t){return ta(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Rr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Zo,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Wo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wo||this.status===Rr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zo:Wo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Rr,this._hasOwnPendingAsyncValidator=!0;const n=Lv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Se,this.statusChanges=new Se}_calculateStatus(){return this._allControlsDisabled()?Zo:this.errors?ra:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Rr)?Rr:this._anyControlsHaveStatus(ra)?ra:Wo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){oa(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function BO(e){return Array.isArray(e)?Jc(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function HO(e){return Array.isArray(e)?Kc(e):e||null}(this._rawAsyncValidators)}}class Yo extends sa{constructor(t,n,r){super(rd(n),od(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){eD(this,0,t),Object.keys(t).forEach(r=>{Kv(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,s)=>{r=n(r,o,s)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class tD extends Yo{}const kr=new M("CallSetDisabledState",{providedIn:"root",factory:()=>ia}),ia="always";function Qo(e,t,n=ia){sd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function UO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&nD(e,t)})}(e,t),function zO(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function GO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&nD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function $O(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ua(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),ca(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function la(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function sd(e,t){const n=Gv(e);null!==t.validator?e.setValidators(Uv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=zv(e);null!==t.asyncValidator?e.setAsyncValidators(Uv(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();la(t._rawValidators,o),la(t._rawAsyncValidators,o)}function ca(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=Gv(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==t.validator);s.length!==o.length&&(n=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const o=zv(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==t.asyncValidator);s.length!==o.length&&(n=!0,e.setAsyncValidators(s))}}}const r=()=>{};return la(t._rawValidators,r),la(t._rawAsyncValidators,r),n}function nD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function sD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function iD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Jo=class extends sa{constructor(t=null,n,r){super(rd(n),od(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oa(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=iD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){sD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){sD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){iD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};let fD=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({}),t})();const cd=new M("NgModelWithFormControlWarning"),i4={provide:Be,useExisting:X(()=>da)};let da=(()=>{var e;class t extends Be{constructor(r,o,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Se,this._setValidators(r),this._setAsyncValidators(o)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ca(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){const o=this.form.get(r.path);return Qo(o,r,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),o}getControl(r){return this.form.get(r.path)}removeControl(r){ua(r.control||null,r,!1),function YO(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,o){this.form.get(r.path).setValue(o)}onSubmit(r){return this.submitted=!0,function oD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(r),"dialog"===r?.target?.method}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{const o=r.control,s=this.form.get(r.path);o!==s&&(ua(o||null,r),(e=>e instanceof Jo)(s)&&(Qo(s,r,this.callSetDisabledState),r.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){const o=this.form.get(r.path);(function rD(e,t){sd(e,t)})(o,r),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){const o=this.form.get(r.path);o&&function qO(e,t){return ca(e,t)}(o,r)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){sd(this.form,this),this._oldForm&&ca(this._oldForm,this)}_checkFormPresent(){}}return(e=t).\u0275fac=function(r){return new(r||e)(D(Ne,10),D(gn,10),D(kr,8))},e.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&me("submit",function(i){return o.onSubmit(i)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[se([i4]),Y,Bt]}),t})();const l4={provide:mn,useExisting:X(()=>hd)};let hd=(()=>{var e;class t extends mn{set isDisabled(r){}constructor(r,o,s,i,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Se,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=function ud(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(s=>{s.constructor===Ki?n=s:function ZO(e){return Object.getPrototypeOf(e.constructor)===kn}(s)?r=s:o=s}),o||r||n||null}(0,i)}ngOnChanges(r){this._added||this._setUpControl(),function ad(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return function aa(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(e=t)._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(D(Be,13),D(Ne,10),D(gn,10),D(Ot,10),D(cd,8))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[se([l4]),Y,Bt]}),t})(),b4=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({imports:[fD]}),t})();class AD extends sa{constructor(t,n,r){super(rd(n),od(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){eD(this,0,t),t.forEach((r,o)=>{Kv(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function TD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let M4=(()=>{var e;class t{constructor(){this.useNonNullable=!1}get nonNullable(){const r=new t;return r.useNonNullable=!0,r}group(r,o=null){const s=this._reduceControls(r);let i={};return TD(o)?i=o:null!==o&&(i.validators=o.validator,i.asyncValidators=o.asyncValidator),new Yo(s,i)}record(r,o=null){const s=this._reduceControls(r);return new tD(s,o)}control(r,o,s){let i={};return this.useNonNullable?(TD(o)?i=o:(i.validators=o,i.asyncValidators=s),new Jo(r,{...i,nonNullable:!0})):new Jo(r,o,s)}array(r,o,s){const i=r.map(a=>this._createControl(a));return new AD(i,o,s)}_reduceControls(r){const o={};return Object.keys(r).forEach(s=>{o[s]=this._createControl(r[s])}),o}_createControl(r){return r instanceof Jo||r instanceof sa?r:Array.isArray(r)?this.control(r[0],r.length>1?r[1]:null,r.length>2?r[2]:null):this.control(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),I4=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:cd,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:kr,useValue:r.callSetDisabledState??ia}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({imports:[b4]}),t})();function ND(e){return Ft((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class fa{}class ha{}class Pt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),s=o.toLowerCase(),i=n.slice(r+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Pt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Pt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const s=t.value;if(s){let i=this.headers.get(n);if(!i)return;i=i.filter(a=>-1===s.indexOf(a)),0===i.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,i)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(s=>s.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class T4{encodeKey(t){return xD(t)}encodeValue(t){return xD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const x4=/%(\d[a-f0-9])/gi,O4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function xD(e){return encodeURIComponent(e).replace(x4,(t,n)=>O4[n]??t)}function pa(e){return`${e}`}class yn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new T4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function N4(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[i,a]=-1==s?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,s)),t.decodeValue(o.slice(s+1))],u=n.get(i)||[];u.push(a),n.set(i,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(pa):[pa(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new yn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(pa(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(pa(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class P4{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function OD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function PD(e){return typeof Blob<"u"&&e instanceof Blob}function FD(e){return typeof FormData<"u"&&e instanceof FormData}class Ko{constructor(t,n,r,o){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function F4(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,s=o):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Pt),this.context||(this.context=new P4),this.params){const i=this.params.toString();if(0===i.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+i}}else this.params=new yn,this.urlWithParams=n}serializeBody(){return null===this.body?null:OD(this.body)||PD(this.body)||FD(this.body)||function R4(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof yn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||FD(this.body)?null:PD(this.body)?this.body.type||null:OD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof yn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Ko(n,r,s,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:i})}}var Lr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Lr||{});class yd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Pt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class _d extends yd{constructor(t={}){super(t),this.type=Lr.ResponseHeader}clone(t={}){return new _d({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Vr extends yd{constructor(t={}){super(t),this.type=Lr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Vr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class RD extends yd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function vd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let kD=(()=>{var e;class t{constructor(r){this.handler=r}request(r,o,s={}){let i;if(r instanceof Ko)i=r;else{let l,c;l=s.headers instanceof Pt?s.headers:new Pt(s.headers),s.params&&(c=s.params instanceof yn?s.params:new yn({fromObject:s.params})),i=new Ko(r,o,void 0!==s.body?s.body:null,{headers:l,context:s.context,params:c,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const a=Aa(i).pipe(function S4(e,t){return re(t)?as(e,t,1):as(e,1)}(l=>this.handler.handle(l)));if(r instanceof Ko||"events"===s.observe)return a;const u=a.pipe(function A4(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,s=>e.call(t,s,o++)&&r.next(s)))})}(l=>l instanceof Vr));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return u.pipe(Cn(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return u.pipe(Cn(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return u.pipe(Cn(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return u.pipe(Cn(l=>l.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:(new yn).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,s={}){return this.request("PATCH",r,vd(s,o))}post(r,o,s={}){return this.request("POST",r,vd(s,o))}put(r,o,s={}){return this.request("PUT",r,vd(s,o))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fa))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();function jD(e,t){return t(e)}function L4(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const j4=new M(""),es=new M(""),BD=new M("");function B4(){let e=null;return(t,n)=>{null===e&&(e=(U(j4,{optional:!0})??[]).reduceRight(L4,jD));const r=U(fc),o=r.add();return e(t,n).pipe(ND(()=>r.remove(o)))}}let HD=(()=>{var e;class t extends fa{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=U(fc)}handle(r){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(es),...this.injector.get(BD,[])]));this.chain=s.reduceRight((i,a)=>function V4(e,t,n){return(r,o)=>n.runInContext(()=>t(r,s=>e(s,o)))}(i,a,this.injector),jD)}const o=this.pendingTasks.add();return this.chain(r,s=>this.backend.handle(s)).pipe(ND(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(ha),F(It))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const G4=/^\)\]\}',?\n/;let UD=(()=>{var e;class t{constructor(r){this.xhrFactory=r}handle(r){if("JSONP"===r.method)throw new C(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?us(o.\u0275loadImpl()):Aa(null)).pipe(Qd(()=>new we(i=>{const a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((y,v)=>a.setRequestHeader(y,v.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){const y=r.detectContentTypeHeader();null!==y&&a.setRequestHeader("Content-Type",y)}if(r.responseType){const y=r.responseType.toLowerCase();a.responseType="json"!==y?y:"text"}const u=r.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const y=a.statusText||"OK",v=new Pt(a.getAllResponseHeaders()),m=function z4(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||r.url;return l=new _d({headers:v,status:a.status,statusText:y,url:m}),l},d=()=>{let{headers:y,status:v,statusText:m,url:b}=c(),w=null;204!==v&&(w=typeof a.response>"u"?a.responseText:a.response),0===v&&(v=w?200:0);let k=v>=200&&v<300;if("json"===r.responseType&&"string"==typeof w){const Ee=w;w=w.replace(G4,"");try{w=""!==w?JSON.parse(w):null}catch(et){w=Ee,k&&(k=!1,w={error:et,text:w})}}k?(i.next(new Vr({body:w,headers:y,status:v,statusText:m,url:b||void 0})),i.complete()):i.error(new RD({error:w,headers:y,status:v,statusText:m,url:b||void 0}))},f=y=>{const{url:v}=c(),m=new RD({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});i.error(m)};let h=!1;const p=y=>{h||(i.next(c()),h=!0);let v={type:Lr.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),"text"===r.responseType&&a.responseText&&(v.partialText=a.responseText),i.next(v)},g=y=>{let v={type:Lr.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),r.reportProgress&&(a.addEventListener("progress",p),null!==u&&a.upload&&a.upload.addEventListener("progress",g)),a.send(u),i.next({type:Lr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),r.reportProgress&&(a.removeEventListener("progress",p),null!==u&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(ov))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const Dd=new M("XSRF_ENABLED"),GD=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zD=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class qD{}let Z4=(()=>{var e;class t{constructor(r,o,s){this.doc=r,this.platform=o,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=q_(r,this.cookieName),this.lastCookieString=r),this.lastToken}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fn),F(Tn),F(GD))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();function Y4(e,t){const n=e.url.toLowerCase();if(!U(Dd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=U(qD).getToken(),o=U(zD);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var _n=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(_n||{});function Vn(e,t){return{\u0275kind:e,\u0275providers:t}}function Q4(...e){const t=[kD,UD,HD,{provide:fa,useExisting:HD},{provide:ha,useExisting:UD},{provide:es,useValue:Y4,multi:!0},{provide:Dd,useValue:!0},{provide:qD,useClass:Z4}];for(const n of e)t.push(...n.\u0275providers);return function zu(e){return{\u0275providers:e}}(t)}const WD=new M("LEGACY_INTERCEPTOR_FN");let J4=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=vt({providers:[Q4(Vn(_n.LegacyInterceptors,[{provide:WD,useFactory:B4},{provide:es,useExisting:WD,multi:!0}]))]}),t})(),oP=(()=>{var e;class t{constructor(r){this.http=r}sendOrder(r){return this.http.post("https://testologia.site/burgers-order",r)}getData(){return this.http.get("https://testologia.site/burgers-data?extra=black")}}return(e=t).\u0275fac=function(r){return new(r||e)(F(kD))},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function sP(e,t){if(1&e){const n=Ll();R(0,"div",48)(1,"div",49),ke(2,"img",50),L(),R(3,"div",51),ee(4),L(),R(5,"div",52),ee(6),L(),R(7,"div",53)(8,"div",54)(9,"div",55),ee(10),L(),R(11,"div",56),ee(12),L()(),R(13,"div",57)(14,"button",58),me("click",function(){const s=Yn(n).$implicit,i=Ci(),a=Ar(63);return Qn(i.scrollTo(a,s))}),R(15,"span"),ee(16,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),L(),R(17,"span"),function uh(){S.lFrame.currentNamespace=Uf}(),R(18,"svg",59),ke(19,"path",60),L()()()()()()}if(2&e){const n=t.$implicit,r=Ci();Ae(2),Vl("src",n.image,Uu),Ae(2),Mi(n.title),Ae(2),To(" ",n.text," "),Ae(4),Gl("",n.price," ",r.currency,""),Ae(2),To("",n.grams," \u0433\u0440")}}const iP=function(e){return{showed:e}};function aP(e,t){if(1&e&&(R(0,"div",61),ke(1,"lottie-player",62),L()),2&e){const n=Ci();So(Ro(2,iP,n.loaderShowed))}}const Cd=function(e){return{error:e}};let uP=(()=>{var e;class t{constructor(r,o){this.fb=r,this.appService=o,this.currency="$",this.loaderShowed=!0,this.loader=!0,this.form=this.fb.group({order:["",Xc.required],name:["",Xc.required],phone:["",Xc.required]})}onMouseMove(r){this.orderImageStyle={transform:"translate(-"+.3*r.clientX/8+"px,-"+.3*r.clientY/8+"px)"},this.mainImageStyle={transform:"translate(-"+.3*r.clientX/8+"px,-"+.3*r.clientY/8+"px)"}}ngOnInit(){setTimeout(()=>{this.loaderShowed=!1},3e3),setTimeout(()=>{this.loader=!1},4e3),this.appService.getData().subscribe(r=>this.productsData=r)}scrollTo(r,o){r.scrollIntoView({behavior:"smooth"}),o&&this.form.patchValue({order:o.title+" ("+o.price+" "+this.currency+")"})}confirmOrder(){this.form.valid&&this.appService.sendOrder(this.form.value).subscribe({next:r=>{alert(r.message),this.form.reset()},error:r=>{alert(r.error.message)}})}changeCurrency(){let r="$",o=1;"$"===this.currency?(r="\u20bd",o=80):"\u20bd"===this.currency?(r="BYN",o=3):"BYN"===this.currency?(r="\u20ac",o=.9):"\u20ac"===this.currency&&(r="\xa5",o=6.9),this.currency=r,this.productsData.forEach(s=>{s.price=+(s.basePrice*o).toFixed(1)})}}return(e=t).\u0275fac=function(r){return new(r||e)(D(M4),D(oP))},e.\u0275cmp=yf({type:e,selectors:[["app-root"]],hostBindings:function(r,o){1&r&&me("mousemove",function(i){return o.onMouseMove(i)},0,zp)},decls:87,vars:19,consts:[[1,"main"],[1,"header"],[1,"container"],[1,"logo"],["src","./assets/images/Logo.png","alt","Logo"],[1,"menu"],[1,"menu-list"],[1,"menu-item"],[3,"click"],["title","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443","id","change-currency",1,"currency",3,"click"],[1,"main-content"],[1,"main-info"],[1,"main-small-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action-button",1,"button",3,"click"],["src","./assets/images/main_burger.png","alt","Big burger",1,"main-image",3,"ngStyle"],["id","why",1,"why"],["why",""],[1,"why-title","common-title"],[1,"why-items"],[1,"why-item"],["src","./assets/images/burger.png","alt","burger",1,"why-item-image"],[1,"why-item-title"],[1,"why-item-text"],["src","./assets/images/meat.png","alt","meat",1,"why-item-image"],["src","./assets/images/food truck.png","alt","food truck",1,"why-item-image"],["id","products",1,"products"],["products",""],[1,"products-title","common-title"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","order",1,"order"],["order",""],[1,"order-title","common-title"],["src","./assets/images/order_image.png","alt","Burger in the box",1,"order-image",3,"ngStyle"],[1,"order-form"],[1,"order-form-text"],[1,"order-form-inputs",3,"formGroup"],[1,"order-form-input"],["type","text","placeholder","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u043e\u0432\u0430\u0440 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","id","burger","formControlName","order","readonly",""],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone"],["id","order-action",1,"button",3,"disabled","click"],[1,"footer"],[1,"rights"],["class","loader",3,"class",4,"ngIf"],[1,"products-item"],[1,"products-item-image"],["alt","burger",3,"src"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-item-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"products-item-action"],[1,"button","product-button",3,"click"],["width","24","height","25","viewBox","0 0 24 25","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M17 18.5C17.5304 18.5 18.0391 18.7107 18.4142 19.0858C18.7893 19.4609 19 19.9696 19 20.5C19 21.0304 18.7893 21.5391 18.4142 21.9142C18.0391 22.2893 17.5304 22.5 17 22.5C16.4696 22.5 15.9609 22.2893 15.5858 21.9142C15.2107 21.5391 15 21.0304 15 20.5C15 19.39 15.89 18.5 17 18.5ZM1 2.5H4.27L5.21 4.5H20C20.2652 4.5 20.5196 4.60536 20.7071 4.79289C20.8946 4.98043 21 5.23478 21 5.5C21 5.67 20.95 5.84 20.88 6L17.3 12.47C16.96 13.08 16.3 13.5 15.55 13.5H8.1L7.2 15.13L7.17 15.25C7.17 15.3163 7.19634 15.3799 7.24322 15.4268C7.29011 15.4737 7.3537 15.5 7.42 15.5H19V17.5H7C6.46957 17.5 5.96086 17.2893 5.58579 16.9142C5.21071 16.5391 5 16.0304 5 15.5C5 15.15 5.09 14.82 5.24 14.54L6.6 12.09L3 4.5H1V2.5ZM7 18.5C7.53043 18.5 8.03914 18.7107 8.41421 19.0858C8.78929 19.4609 9 19.9696 9 20.5C9 21.0304 8.78929 21.5391 8.41421 21.9142C8.03914 22.2893 7.53043 22.5 7 22.5C6.46957 22.5 5.96086 22.2893 5.58579 21.9142C5.21071 21.5391 5 21.0304 5 20.5C5 19.39 5.89 18.5 7 18.5ZM16 11.5L18.78 6.5H6.14L8.5 11.5H16Z","fill","#191411"],[1,"loader"],["src","./assets/burger.json","background","transparent","speed","1.5","autoplay",""]],template:function(r,o){if(1&r){const s=Ll();R(0,"section",0)(1,"header",1)(2,"div",2)(3,"div",3),ke(4,"img",4),L(),R(5,"nav",5)(6,"ul",6)(7,"li",7)(8,"a",8),me("click",function(){Yn(s);const a=Ar(32);return Qn(o.scrollTo(a))}),ee(9,"\u041f\u043e\u0447\u0435\u043c\u0443 \u0443 \u043d\u0430\u0441"),L()(),R(10,"li",7)(11,"a",8),me("click",function(){Yn(s);const a=Ar(56);return Qn(o.scrollTo(a))}),ee(12,"\u041c\u0435\u043d\u044e \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432"),L()(),R(13,"li",7)(14,"a",8),me("click",function(){Yn(s);const a=Ar(63);return Qn(o.scrollTo(a))}),ee(15,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),L()()()(),R(16,"div",9),me("click",function(){return o.changeCurrency()}),ee(17),L()()(),R(18,"section",10)(19,"div",2)(20,"div",11)(21,"span",12),ee(22,"\u041d\u043e\u0432\u043e\u0435 \u043c\u0435\u043d\u044e"),L(),R(23,"h1",13),ee(24,"\u0431\u0443\u0440\u0433\u0435\u0440 \u0447\u0435\u0434\u0434\u0435\u0440"),L(),R(25,"p",14),ee(26," \u041c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448\u0435 \u043c\u0435\u043d\u044e, \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0432\u0438\u043d\u043a\u0438 \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u0432\u043a\u0443\u0441\u043e\u043c \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432. \u0413\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u0432\u0430\u0441 \u043b\u0443\u0447\u0448\u0438\u0435 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0438\u0437 \u043e\u0442\u0431\u043e\u0440\u043d\u043e\u0439 \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u043e\u0439 \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u044b. "),L(),R(27,"div",15)(28,"button",16),me("click",function(){Yn(s);const a=Ar(56);return Qn(o.scrollTo(a))}),ee(29,"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u0435\u043d\u044e"),L()()(),ke(30,"img",17),L()()(),R(31,"section",18,19)(33,"div",2)(34,"div",20),ee(35,"\u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0430\u0441 \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442?"),L(),R(36,"div",21)(37,"div",22),ke(38,"img",23),R(39,"div",24),ee(40,"\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b"),L(),R(41,"div",25),ee(42," \u041d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0432\u043a\u0443\u0441\u043e\u0432 \u0438\xa0\u043d\u0435\xa0\u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0438\xa0\u043d\u0430\xa0\u043a\u0430\u043a\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u043c \u043b\u0443\u0447\u0448\u0438\u0435 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b \u0438\xa0\u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0432\u043a\u0443\u0441\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u043d\u044e. "),L()(),R(43,"div",22),ke(44,"img",26),R(45,"div",24),ee(46,"\u041c\u0440\u0430\u043c\u043e\u0440\u043d\u0430\u044f \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0430"),L(),R(47,"div",25),ee(48," \u0414\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432 \u043c\u044b\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0442\u0431\u043e\u0440\u043d\u0443\u044e 100% \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u0443\u044e \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430\u043a\u0443\u043f\u0430\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\xa0\u0444\u0435\u0440\u043c\u0435\u0440\u043e\u0432. \u041c\u044b\xa0\u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0432\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u044f\u0441\u0430. "),L()(),R(49,"div",22),ke(50,"img",27),R(51,"div",24),ee(52,"\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430"),L(),R(53,"div",25),ee(54," \u041c\u044b\xa0\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\xa0\u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u041c\u041a\u0410\u0414 \u0437\u0430\xa030\xa0\u043c\u0438\u043d\u0443\u0442, \u0430\xa0\u0435\u0441\u043b\u0438 \u043d\u0435\xa0\u0443\u0441\u043f\u0435\u0435\u043c\xa0\u2014 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\xa0\u0434\u043e\u0440\u043e\u0433\u0435 \u043e\u043d\u0438 \u043d\u0435\xa0\u043e\u0441\u0442\u044b\u043b\u0438. "),L()()()()(),R(55,"section",28,29)(57,"div",2)(58,"div",30),ee(59,"\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0431\u0443\u0440\u0433\u0435\u0440"),L(),R(60,"div",31),Pl(61,sP,20,6,"div",32),L()()(),R(62,"section",33,34)(64,"div",2)(65,"div",35),ee(66,"\u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),L(),ke(67,"img",36),R(68,"div",37)(69,"div",38),ee(70,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0430\u0448 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0432\u044f\u0436\u0435\u0442\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430"),L(),R(71,"div",39)(72,"div",40),ke(73,"input",41),L(),R(74,"div",40),ke(75,"input",42),L(),R(76,"div",40),ke(77,"input",43),L(),R(78,"button",44),me("click",function(){return o.confirmOrder()}),ee(79,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437"),L()()()()(),R(80,"footer",45)(81,"div",2)(82,"div",3),ke(83,"img",4),L(),R(84,"div",46),ee(85,"\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b"),L()()(),Pl(86,aP,2,4,"div",47)}if(2&r){let s,i,a;Ae(17),Mi(o.currency),Ae(13),ln("ngStyle",o.mainImageStyle),Ae(31),ln("ngForOf",o.productsData),Ae(6),ln("ngStyle",o.orderImageStyle),Ae(4),ln("formGroup",o.form),Ae(1),So(Ro(13,Cd,(null==(s=o.form.get("order"))?null:s.invalid)&&((null==(s=o.form.get("order"))?null:s.dirty)||(null==(s=o.form.get("order"))?null:s.touched)))),Ae(2),So(Ro(15,Cd,(null==(i=o.form.get("name"))?null:i.invalid)&&((null==(i=o.form.get("name"))?null:i.dirty)||(null==(i=o.form.get("name"))?null:i.touched)))),Ae(2),So(Ro(17,Cd,(null==(a=o.form.get("phone"))?null:a.invalid)&&((null==(a=o.form.get("phone"))?null:a.dirty)||(null==(a=o.form.get("phone"))?null:a.touched)))),Ae(2),ln("disabled",!o.form.valid),Ae(8),ln("ngIf",o.loader)}},dependencies:[Y_,X_,ev,Ki,Qv,Xv,da,hd],styles:[".main[_ngcontent-%COMP%]{overflow:hidden;background-image:url(main_bg.34139015de8adbe2.png);background-position:top center}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:191px}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:88px}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:18px;color:#fff;text-decoration:none;cursor:pointer}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:2px solid white}.currency[_ngcontent-%COMP%]{border:1px solid white;border-radius:5px;width:45px;height:45px;padding:6px;box-sizing:border-box;text-align:center;cursor:pointer;line-height:32px;margin-left:auto;-webkit-user-select:none;user-select:none}.main-content[_ngcontent-%COMP%]{padding-top:103px;padding-bottom:199px}.main-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.main-info[_ngcontent-%COMP%]{max-width:608px}.main-small-info[_ngcontent-%COMP%]{background:#d3320f;border-radius:100px;padding:12px 16px;display:inline-block;font-size:18px}.main-title[_ngcontent-%COMP%]{font-family:Merriweather,sans-serif;font-size:120px;line-height:130%;letter-spacing:.03em;text-transform:uppercase;margin-bottom:56px}.main-text[_ngcontent-%COMP%]{font-size:24px;line-height:normal;margin-bottom:56px}.main-image[_ngcontent-%COMP%]{position:absolute;top:-123px;left:calc(100% - 991px)}.why[_ngcontent-%COMP%]{background-image:url(whybg.47247915423c8859.png);background-position:top center;background-size:initial;padding-bottom:180px}.why-items[_ngcontent-%COMP%]{margin-top:60px;display:grid;gap:100px;grid-template-columns:repeat(3,312px);justify-content:center}.why-item[_ngcontent-%COMP%]{text-align:center}.why-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:normal;padding:24px 0}.why-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%}.products[_ngcontent-%COMP%]{background-image:url(burgers_bg.46f198d6f72a099a.png);background-position:top center;background-size:1400px;padding-bottom:180px}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,384px);gap:24px;margin-top:60px}.products-item[_ngcontent-%COMP%]{padding:30px;background:#211A16;border-radius:16px;border:1px solid #353535}.products-item-image[_ngcontent-%COMP%]{height:250px}.products-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;transition:all .5s ease}.products-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.products-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.products-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%;margin-bottom:24px}.products-item-extra[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.products-item-price[_ngcontent-%COMP%]{font-size:32px;line-height:39px;margin-bottom:8px}.products-item-weight[_ngcontent-%COMP%]{font-size:16px;line-height:18px;color:gray}.button.product-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:182px;height:62px}.button.product-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-child{margin-right:10px}.order[_ngcontent-%COMP%]{background-image:url(order_bg.91554f5150892e81.png);background-position:top center;background-repeat:no-repeat;padding-bottom:180px;overflow:hidden}.order[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.order-image[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 764px);z-index:-1}.order-form[_ngcontent-%COMP%]{border-radius:16px;border:1px solid #353535;background:#211A16;margin-top:60px;max-width:426px;box-sizing:border-box;padding:60px 40px;margin-left:674px}.order-form-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;text-align:center}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:40px}.order-form-input[_ngcontent-%COMP%]{background:linear-gradient(95.61deg,#DA8023 0%,#E2B438 100%);width:344px;height:62px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;justify-content:center}.order-form-input.error[_ngcontent-%COMP%]{background:red}.order-form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:20px 10px;background:#211A16;border-radius:8px;width:342px;height:60px;box-sizing:border-box;outline:none;border:1px solid transparent;color:#fff}.order-form-inputs[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:344px;height:62px}.footer[_ngcontent-%COMP%]{padding:60px 0}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.loader[_ngcontent-%COMP%]{top:0;width:100%;height:100%;background:#191411;position:fixed;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease-in-out}.loader[_ngcontent-%COMP%]   lottie-player[_ngcontent-%COMP%]{display:block;width:300px;height:300px}.loader.showed[_ngcontent-%COMP%]{opacity:1}@media screen and (max-width: 1225px){.main[_ngcontent-%COMP%], .products[_ngcontent-%COMP%], .order[_ngcontent-%COMP%]{background:none}.container[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{flex-wrap:wrap;max-width:420px;justify-content:center}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{order:1}.menu[_ngcontent-%COMP%]{margin:20px 0;order:3;flex-basis:100%}.menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{justify-content:space-between}.menu-item[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;text-align:center}.currency[_ngcontent-%COMP%]{margin-left:20px;order:2}.main-image[_ngcontent-%COMP%]{z-index:-1;opacity:.4}.why-items[_ngcontent-%COMP%]{grid-template-columns:auto;max-width:500px;margin-left:auto;margin-right:auto}.products-items[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(290px,384px));justify-content:center}.products-item[_ngcontent-%COMP%]{padding:15px}.products-item-image[_ngcontent-%COMP%]{height:auto}.order[_ngcontent-%COMP%]{padding-bottom:20px}.order-image[_ngcontent-%COMP%]{width:800px}.order-form[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:426px;width:auto;padding:20px}.order-form-input[_ngcontent-%COMP%]{max-width:100%;width:auto}.order-form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:calc(100% - 2px)}.order-form-inputs[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%;margin:0 auto}}@media screen and (max-width: 570px){.main-title[_ngcontent-%COMP%]{font-size:65px;margin-top:20px}.common-title[_ngcontent-%COMP%]{font-size:36px;line-height:46px}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{flex-direction:column;justify-content:center}.rights[_ngcontent-%COMP%]{margin-top:20px}}"]}),t})(),lP=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e,bootstrap:[uP]}),e.\u0275inj=vt({imports:[hO,I4,J4]}),t})();dO().bootstrapModule(lP).catch(e=>console.error(e))}},re=>{re(re.s=497)}]);